Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f733e45e7f50ad876bd768dfe35ea536ab7045c3
https://github.com/WebKit/WebKit/commit/f733e45e7f50ad876bd768dfe35ea536ab7045c3
Author: Yusuke Suzuki <[email protected]>
Date: 2026-08-26 (Wed, 26 Aug 2026)
Changed paths:
M Source/JavaScriptCore/heap/SlotVisitor.cpp
M Source/JavaScriptCore/heap/SlotVisitor.h
Log Message:
-----------
[JSC] Do not broadcast termination from the thread that is about to stop
draining
https://bugs.webkit.org/show_bug.cgi?id=322475
rdar://185763143
Reviewed by Yijia Huang.
When reaching to termination, there is no work. Then waking up helper
threads do not offer anything since it is waiting until (1) there is a
work, (2) bonus visitor task exists, or (3) m_parallelMarkersShouldExit.
This patch removes these unnecessary wakeup.
* Source/JavaScriptCore/heap/SlotVisitor.cpp:
(JSC::SlotVisitor::drainFromShared):
(JSC::SlotVisitor::drainInParallelPassively):
(JSC::SlotVisitor::waitForTermination):
* Source/JavaScriptCore/heap/SlotVisitor.h:
Canonical link: https://commits.webkit.org/319889@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications