Commit 35a07b2
Revert "[vm, isolates] Avoid three-way deadlock during isolate exit."
This reverts commit e4e8360.
Reason for revert: #59632
Original change's description:
> [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]>
Bug: #59574
Change-Id: I529fc140160018c2b6768b108073b2e14ab7bdaa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/398422
Reviewed-by: Alexander Aprelev <[email protected]>
Commit-Queue: Ryan Macnak <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>1 parent 3feb138 commit 35a07b2
3 files changed
+23
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
457 | 462 | | |
458 | 463 | | |
459 | 464 | | |
| |||
1845 | 1850 | | |
1846 | 1851 | | |
1847 | 1852 | | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
1848 | 1861 | | |
1849 | 1862 | | |
1850 | 1863 | | |
| |||
1872 | 1885 | | |
1873 | 1886 | | |
1874 | 1887 | | |
1875 | | - | |
1876 | | - | |
1877 | | - | |
1878 | | - | |
1879 | | - | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
1883 | 1888 | | |
1884 | 1889 | | |
1885 | 1890 | | |
| |||
2614 | 2619 | | |
2615 | 2620 | | |
2616 | 2621 | | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
2617 | 2626 | | |
2618 | 2627 | | |
2619 | 2628 | | |
2620 | 2629 | | |
2621 | | - | |
2622 | | - | |
2623 | | - | |
2624 | | - | |
2625 | | - | |
2626 | 2630 | | |
2627 | 2631 | | |
2628 | 2632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
| 331 | + | |
330 | 332 | | |
331 | 333 | | |
332 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
0 commit comments