130ae2a802
Give up the tasks lock before interrupting to finalize marking. TEST=ci, tsan, rr chaos mode Bug: https://github.com/dart-lang/sdk/issues/59574 Change-Id: I9f4ca977354b3860897654790fceb8f0e2e25aab Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/398580 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>