-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vm, isolates] Avoid three-way deadlock during isolate exit.
Running mutator holds safepoint operation scope starting old space GC waiting for old space tasks to reach 0 Concurrent marker holds old space tasks > 0 waiting for isolates_list_ lock to interrupt for finalization Exiting mutator holds isolates_list_ lock_ to unregister isolate waiting for safepoint to end TransitionVMToBlocked Reorder isolate [un]registeration to not need safepoint transition to acquire the isolates_list_ lock. TEST=ci Bug: #59574 Change-Id: Ia98fabd654c880b253893a0598d2e26ed77f52da Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397660 Reviewed-by: Alexander Aprelev <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
- Loading branch information
1 parent
343ffd1
commit e4e8360
Showing
3 changed files
with
13 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters