Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[beta][vm, profiler] Don't assume the isolate has a mutator during a …
…profile sample. A sample can be taken when Thread::Current() and Thread::Current()->isolate() are non-NULL. When a thread is entering or exiting an isolate, the is a brief window between the TLS being set/cleared and Isolate::mutator_thread_ being set/cleared. TEST=vm/cc/Profiler_EnterExitIsolate Fixes: flutter/flutter#134548 Cherry-pick-request: #53713 Cherry-pick: https://dart-review.googlesource.com/c/sdk/+/328380 Change-Id: Ic8c0aecd65101a882a8ff6a9ec02c4a9ea1d1cfe Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/329804 Commit-Queue: Siva Annamalai <asiva@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>
- Loading branch information