gh-117657: Fix TSAN race in free-threaded GC (#119883)
Only call `gc_restore_tid()` from stop-the-world contexts. `worklist_pop()` can be called while other threads are running, so use a relaxed atomic to modify `ob_tid`.
S
Sam Gross committed
60593b2052ca275559c11028d50e19f8e5dfee13
Parent: 5152120
Committed by GitHub <noreply@github.com>
on 6/1/2024, 2:04:05 PM