Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c1017d3d1fc53f46679a5e2df2d6d71b66253fd8
      
https://github.com/WebKit/WebKit/commit/c1017d3d1fc53f46679a5e2df2d6d71b66253fd8
  Author: Yijia Huang <[email protected]>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/ErrorInstance.cpp

  Log Message:
  -----------
  [JSC] Use DeferGCForAWhile instead of DeferGC in computeErrorInfo
https://bugs.webkit.org/show_bug.cgi?id=268489
rdar://121906810

Reviewed by Mark Lam, Yusuke Suzuki and Justin Michaud.

ErrorInstance::computeErrorInfo can be called from GC's Heap::runEndPhase.
In the case, we should use DeferGCForAWhile instead of DeferGC since it
can trigger another GC in its destruction.

* Source/JavaScriptCore/runtime/ErrorInstance.cpp:
(JSC::ErrorInstance::computeErrorInfo):

Originally-landed-as: 272448.442@safari-7618-branch (58204e87a044). 
rdar://124554094
Canonical link: https://commits.webkit.org/276346@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