Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f69aff0fba598c2ceb51e11c90907565b6b1245d
      
https://github.com/WebKit/WebKit/commit/f69aff0fba598c2ceb51e11c90907565b6b1245d
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-08-24 (Mon, 24 Aug 2026)

  Changed paths:
    M Source/WTF/wtf/BitSet.h

  Log Message:
  -----------
  [WTF] Use exchangeOr / exchangeAnd in BitSet concurrentTestAndSet / 
concurrentTestAndClear
https://bugs.webkit.org/show_bug.cgi?id=322359
rdar://185644921

Reviewed by Keith Miller.

Use exchangeOr / exchangeAnd for BitSet concurrentTestAndSet / 
concurrentTestAndClear
as it is more efficient than using weak CAS loop as ARM64 LSE
environment lowers it to ldset etc.

* Source/WTF/wtf/BitSet.h:
(WTF::WordType>::concurrentTestAndSet):
(WTF::WordType>::concurrentTestAndClear):

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



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

Reply via email to