Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 140ce5b5c1ce2e8a74af55850e65a948f43a24be
      
https://github.com/WebKit/WebKit/commit/140ce5b5c1ce2e8a74af55850e65a948f43a24be
  Author: Kai Tamkun <[email protected]>
  Date:   2026-06-30 (Tue, 30 Jun 2026)

  Changed paths:
    A JSTests/stress/regress-174630697.js
    M Source/JavaScriptCore/bytecode/Repatch.cpp

  Log Message:
  -----------
  [JSC] Missing codeBlock->m_lock in repatchGetBySlowPathCall
https://bugs.webkit.org/show_bug.cgi?id=312405
rdar://174630697

Reviewed by Yusuke Suzuki.

Adds usage of GCSafeConcurrentJSLocker in three repatch methods.
This avoids a data race.

Test: JSTests/stress/regress-174630697.js

* JSTests/stress/regress-174630697.js: Added.
* Source/JavaScriptCore/bytecode/Repatch.cpp:
(JSC::repatchGetBySlowPathCall):
(JSC::repatchPutBySlowPathCall):
(JSC::repatchInBySlowPathCall):

Originally-landed-as: 305413.703@safari-7624-branch (bb9e30e27a73). 
rdar://180436444
Canonical link: https://commits.webkit.org/316164@main



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

Reply via email to