Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 41294576aca94ffb4246dff6c82cadf4c2b58123
      
https://github.com/WebKit/WebKit/commit/41294576aca94ffb4246dff6c82cadf4c2b58123
  Author: Sergey Rubanov <[email protected]>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    A JSTests/stress/atomics-is-lock-free-integer.js
    M Source/JavaScriptCore/runtime/AtomicsObject.cpp

  Log Message:
  -----------
  [JSC] Atomics.isLockFree should use ToIntegerOrInfinity
https://bugs.webkit.org/show_bug.cgi?id=323323

Reviewed by Yusuke Suzuki.

Atomics.isLockFree used ToInt32. A size such as 4294967297 wrapped to 1
and returned true. The spec compares the exact ToIntegerOrInfinity
result to 1, 2, 4, and 8.

* Source/JavaScriptCore/runtime/AtomicsObject.cpp:
* JSTests/stress/atomics-is-lock-free-integer.js: Added.

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



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

Reply via email to