You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix setPendingFlagForVirtualThread() to not accidentally clear the flag
* Before this TruffleSafepointTest#testContextSafepoint[VIRTUAL_THREADS]
would occasionally fail because of this race:
with VT=VirtualThread MT=MainThread (or the thread that submits the ThreadLocalAction):
VT: boolean pending = this.fastPendingSet; // false
MT: fastPendingSet = true;
MT: carrierThread.pending = true;
VT: carrierThread.pending = pending; // false
Copy file name to clipboardExpand all lines: truffle/src/com.oracle.truffle.runtime/src/com/oracle/truffle/runtime/hotspot/HotSpotThreadLocalHandshake.java
0 commit comments