dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.24k stars 1.57k forks source link

Evaluate if it is possible to not invoke the isolate create callback when Isolate.SpawnFunction is used #4880

Closed a-siva closed 8 years ago

a-siva commented 12 years ago

Evaluate if it is possible to not invoke the isolate create callback when Isolate.SpawnFunction is called. This has some implications when script snapshots are used.

Would be ideal if the spawned isolate is able to clone the script object from the spawning isolate.

I am not sure if there are some issues in dartium with regards to this.

dgrove commented 12 years ago

cc @justinfagnani. Added Area-Library, Library-Isolates, Triaged labels.

DartBot commented 12 years ago

This comment was originally written by antonm@google.com


Siva,

If VM can do source code reinjection for us, that'd be great---we have enough logic around that.

When spawning not DOM enabled isolate Dartium still performs some Dartium specific operations like setting native resolver (as dart:htm is imported anyway), we can probably live w/o it. Another thing is to set timer and print closures. That looks more important.

dgrove commented 11 years ago

Added Library-Isolate label.

dgrove commented 11 years ago

Removed Library-Isolates label.

lrhn commented 10 years ago

Removed Area-Library, Library-Isolate labels. Added Area-VM label.

iposva-google commented 8 years ago

Stale.