RESOLVED FIXED300335
Fix race condition in testVMManagerStopTheWorld().
https://bugs.webkit.org/show_bug.cgi?id=300335
Summary Fix race condition in testVMManagerStopTheWorld().
Mark Lam
Reported 2025-10-07 11:47:57 PDT
The global totalNumberOfVMs is being incremented from worker threads as they start. As such, there's a race where their read-modify-write operation can trash each other's mods. The fix is simply to make totalNumberOfVMs atomic.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-07 11:48:18 PDT
Mark Lam
Comment 2 2025-10-07 12:07:30 PDT
EWS
Comment 3 2025-10-07 13:11:24 PDT
Committed 301159@main (24181825972e): <https://commits.webkit.org/301159@main> Reviewed commits have been landed. Closing PR #51958 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.