DescriptionFix race and limit access to mutator_thread_.
Unsynchronized access to the contents of another thread is dangerous, even for just ASSERTs, as shown by issue 23958.
Verify the bidirectional Isolate<->Thread pointer invariant when *setting* the mutator_thread_ field, and
limit the interface to comparisons with NULL and the current thread.
BUG=https://github.com/dart-lang/sdk/issues/23958
R=johnmccutchan@google.com
Committed: https://github.com/dart-lang/sdk/commit/7d82391e8949513ced7be0ee6cd56b9f4a38fcd8
Patch Set 1 #Patch Set 2 : Remove debug print. #
Messages
Total messages: 4 (1 generated)
|