[webkit-changes] [WebKit/WebKit] 737376: [JSC] Use singleton WorkQueue for SignalSender
Yusuke Suzuki
noreply at github.com
Sun Jan 26 23:10:04 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 737376a68f94d330ed35bfa05ceaa3dd901a078f
https://github.com/WebKit/WebKit/commit/737376a68f94d330ed35bfa05ceaa3dd901a078f
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2025-01-26 (Sun, 26 Jan 2025)
Changed paths:
M Source/JavaScriptCore/runtime/VMTraps.cpp
M Source/JavaScriptCore/runtime/VMTraps.h
Log Message:
-----------
[JSC] Use singleton WorkQueue for SignalSender
https://bugs.webkit.org/show_bug.cgi?id=286529
rdar://143619084
Reviewed by Mark Lam.
Let's not launch a new thread for each VM's teardown (for workers).
Use singleton WorkQueue and emit stop signals from that.
* Source/JavaScriptCore/runtime/VMTraps.cpp:
(JSC::VMTraps::willDestroyVM):
(JSC::VMTraps::fireTrap):
(JSC::VMTraps::VMTraps):
* Source/JavaScriptCore/runtime/VMTraps.h:
Canonical link: https://commits.webkit.org/289416@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list