Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d8d0d118bb8b13b08d72d5ee92b7391a41c8cdf6
      
https://github.com/WebKit/WebKit/commit/d8d0d118bb8b13b08d72d5ee92b7391a41c8cdf6
  Author: Dan Hecht <[email protected]>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M Source/JavaScriptCore/jit/JITWorklist.cpp

  Log Message:
  -----------
  [JSC] JITWorklist::visitWeakReferences() should bail if the VM has no active 
plans
https://bugs.webkit.org/show_bug.cgi?id=293711
rdar://150606516

Reviewed by Keith Miller and Mark Lam.

When the VM being collected has no JITPlans, there's no point in
JITWorklist::visitWeakReferences() searching for a plan, so bail
earlier like the other methods do. This avoids a racy check
of the safepoint since the JIT threads might not be suspended.
Add an assert that verifies the invariant that avoids this race.

Canonical link: https://commits.webkit.org/295564@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to