894a5fa7d5
The suspended thread might hold a TSAN-internal lock to a location that will be read by the sampling thread, which would cause a dead lock. TEST=tsan Bug: https://github.com/dart-lang/sdk/issues/62332 Change-Id: I0ac6a05c25067749b52ed83b14f80ab1850013a3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/471321 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>