Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 19cfe1ed983a6e886e86ff307e9fc9ee3053e525
https://github.com/WebKit/WebKit/commit/19cfe1ed983a6e886e86ff307e9fc9ee3053e525
Author: Chris Dumez <[email protected]>
Date: 2026-09-07 (Mon, 07 Sep 2026)
Changed paths:
M Source/WTF/wtf/RunLoop.h
M Source/WTF/wtf/cf/RunLoopCF.cpp
M Source/WTF/wtf/generic/RunLoopGeneric.cpp
M Source/WTF/wtf/glib/RunLoopGLib.cpp
M Source/WTF/wtf/win/RunLoopWin.cpp
Log Message:
-----------
Use RELEASE_ASSERT in assertIsCurrent(const RunLoop&) for extra thread safety
https://bugs.webkit.org/show_bug.cgi?id=323572
Reviewed by Darin Adler.
Use RELEASE_ASSERT in assertIsCurrent(const RunLoop&) for extra thread safety.
This tested as performance neutral on the benchmarks we track.
* Source/WTF/wtf/RunLoop.h:
(WTF::WTF_ASSERTS_ACQUIRED_CAPABILITY):
* Source/WTF/wtf/cf/RunLoopCF.cpp:
(WTF::RunLoop::TimerBase::stop):
* Source/WTF/wtf/generic/RunLoopGeneric.cpp:
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::stop):
* Source/WTF/wtf/glib/RunLoopGLib.cpp:
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::stop):
* Source/WTF/wtf/win/RunLoopWin.cpp:
(WTF::RunLoop::TimerBase::stop):
Canonical link: https://commits.webkit.org/320636@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications