Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7332074f0ccefdd29a2dc32d146846adc60acfa7
      
https://github.com/WebKit/WebKit/commit/7332074f0ccefdd29a2dc32d146846adc60acfa7
  Author: Keith Miller <[email protected]>
  Date:   2026-05-08 (Fri, 08 May 2026)

  Changed paths:
    M JSTests/stress/comma-in-condition-context.js
    M Source/WTF/wtf/Atomics.h

  Log Message:
  -----------
  Atomics' ensurePointer should only allocate once
https://bugs.webkit.org/show_bug.cgi?id=314338
rdar://176486283

Reviewed by Yusuke Suzuki.

Right now the new value will get deleted then recreated if the
compareExchangeWeak spuriously fails. This is inefficient, we should
just use compareExchangeStrong instead.

No new tests, covered by existing tests.

* JSTests/stress/comma-in-condition-context.js:
* Source/WTF/wtf/Atomics.h:
(WTF::ensurePointer):

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



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

Reply via email to