Chromium Code Reviews
DescriptionMove notification of isolate creation until after the ObjectStore is initialized.
The debugger_ is initialized in Dart::CreateIsolate but the object
store is only valid after Dart::InitializeIsolate. I could have moved
the initalization of debugger_ later, but then many of the debugger()
accesses in the vm would need null checks. Instead I moved the
isolate creation notification a bit.
I was only able to see this problem when running a two isolate program
with the --pause-isolates-on-start option.
BUG=
R=johnmccutchan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=42344
Patch Set 1 #
Total comments: 4
Patch Set 2 : code review #
Messages
Total messages: 5 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||