DescriptionFix some service protocol isolate life cycle races that were discovered by the Flutter testing tool.
Fixes #25902
Issue #1
Assuming --pause-isolates-on-start, there is a window of time after an isolate is made runnable and before it pauses at the first message that we say the isolate is "resumed".
- Fix issue #1 by claiming the isolate is paused on start if it will eventually pause on start.
- Also, handle the resume command for this state by clearing the 'should pause on start' bit.
Issue #2
Before an isolate is made runnable we say the isolate is "resumed".
- Fix issue #2 by introducing a new pause event "None".
R=turnidge@google.com
Committed: https://github.com/dart-lang/sdk/commit/49dc7e557b74085d60c9b26cf806d3b73899972e
Patch Set 1 #Patch Set 2 : #
Total comments: 4
Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 9 (5 generated)
|