Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a5760beba07ce4c1e6a21cc3de9affbfbceb0e1b
      
https://github.com/WebKit/WebKit/commit/a5760beba07ce4c1e6a21cc3de9affbfbceb0e1b
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-05-27 (Wed, 27 May 2026)

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

  Log Message:
  -----------
  [JSC] Let's always return CoW array from ownPropertyKeys in common case
https://bugs.webkit.org/show_bug.cgi?id=315644
rdar://178025453

Reviewed by Yijia Huang.

Making array return types random (sometimes CoW and sometimes non-CoW)
easily causes mis-speculation in DFG, leading to frequent OSR exit.
Let's just return CoW from ownPropertyKeys in common case consistently.

* Source/JavaScriptCore/runtime/ObjectConstructor.cpp:
(JSC::ownPropertyKeys):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to