Commit ab31426
committed
Try putting a memory barrier before the thin lock clearing to ensure that other threads observe the swapped-in and initialized lock before the thin-lock value is cleared.
1 parent 16940c3 commit ab31426
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1765 | 1765 | | |
1766 | 1766 | | |
1767 | 1767 | | |
| 1768 | + | |
| 1769 | + | |
1768 | 1770 | | |
1769 | 1771 | | |
1770 | 1772 | | |
| |||
0 commit comments