Commit 203b303
[vm, isolates] Allocate the main port before entering the isolate.
Once we enter the isolate, other threads may read the main port as part of attempting to bring all the group members to a reload safepoint.
TEST=tsan
Change-Id: Ie7ccfd8672c9b923c7e071023a418ddbc58660ae
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/398780
Reviewed-by: Alexander Aprelev <[email protected]>
Commit-Queue: Ryan Macnak <[email protected]>1 parent a888aaa commit 203b303
2 files changed
+8
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1860 | 1860 | | |
1861 | 1861 | | |
1862 | 1862 | | |
1863 | | - | |
1864 | | - | |
1865 | | - | |
1866 | | - | |
1867 | | - | |
1868 | | - | |
1869 | | - | |
1870 | | - | |
1871 | 1863 | | |
1872 | 1864 | | |
1873 | 1865 | | |
| |||
1879 | 1871 | | |
1880 | 1872 | | |
1881 | 1873 | | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
1882 | 1882 | | |
1883 | 1883 | | |
1884 | 1884 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
| |||
0 commit comments