Repository navigation
[JSC] Do not broadcast termination from the thread that is about to stop draining - #72377
Merged
Conversation
Collaborator
|
EWS run on previous version of this PR (hash 5d2924b) Details |
Constellation
force-pushed
the
eng/JSC-Do-not-broadcast-termination-from-the-thread-that-is-about-to-stop-draining
branch
from
August 25, 2026 07:12
5d2924b to
1b3ac03
Compare
Collaborator
|
EWS run on previous version of this PR (hash 1b3ac03) Details |
Constellation
force-pushed
the
eng/JSC-Do-not-broadcast-termination-from-the-thread-that-is-about-to-stop-draining
branch
from
August 26, 2026 18:38
1b3ac03 to
4cdf5f3
Compare
Collaborator
|
EWS run on previous version of this PR (hash 4cdf5f3) Details
|
Constellation
force-pushed
the
eng/JSC-Do-not-broadcast-termination-from-the-thread-that-is-about-to-stop-draining
branch
from
August 26, 2026 18:40
4cdf5f3 to
7212e73
Compare
Collaborator
|
EWS run on current version of this PR (hash 7212e73) Details
|
hyjorc1
approved these changes
Aug 26, 2026
…top 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
webkit-commit-queue
force-pushed
the
eng/JSC-Do-not-broadcast-termination-from-the-thread-that-is-about-to-stop-draining
branch
from
August 26, 2026 18:43
7212e73 to
f733e45
Compare
Collaborator
|
Committed 319889@main (f733e45): https://commits.webkit.org/319889@main Reviewed commits have been landed. Closing PR #72377 and removing active labels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛠 ios-apple
f733e45
7212e73
🛠 ios🛠 wpe🛠 win🛠 ios-sim🛠 mac-AS-debug🧪 wpe-wk2🧪 win-tests🧪 ios-wk2🧪 api-wpe🧪 ios-wk2-wpt🧪 api-mac-debug🧪 jsc-wpe🧪 api-ios🛠 ios-safer-cpp🧪 mac-AS-debug-wk2🛠 vision🧪 gtk-wk2🛠 vision-sim🧪 api-gtk🧪 vision-wk2🛠 mac-safer-cpp🛠 playstation🛠 tv🛠 tv-sim🛠 watch🛠 watch-sim