x10-lang / x10

Core implementation of X10 programming language including compiler, runtime, class libraries, sample programs and test suite
Eclipse Public License 1.0
70 stars 15 forks source link

optimizations to reduce communication in Place 0 resilient finish #22

Closed milthorpe closed 7 years ago

milthorpe commented 7 years ago

Defer globalizing state until first message to Place 0 to notify activity creation: creating finish state is combined with notifySubActivitySpawn and spawnRemoteActivity. For small direct asyncs sent via Place 0, don't create a synthetic local activity at the source place and a matching termination message from Place 0. Don't lock states map before checking if source place is dead, if there would be no updates to state. Minor changes to reduce size of captured environment for bookkeeping messages.

milthorpe commented 7 years ago

Withdrawing - changes to spawnRemoteActivity causes a race condition. Will submit smaller pull request