Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 32f4eefc78ef3e45964502ac5e8d00afacd32b5d
https://github.com/WebKit/WebKit/commit/32f4eefc78ef3e45964502ac5e8d00afacd32b5d
Author: Angelos Oikonomopoulos <[email protected]>
Date: 2026-05-13 (Wed, 13 May 2026)
Changed paths:
M Source/JavaScriptCore/jit/JITWorklist.cpp
M Source/JavaScriptCore/jit/JITWorklist.h
M Source/JavaScriptCore/runtime/VM.cpp
M Source/JavaScriptCore/wasm/WasmWorklist.cpp
M Source/JavaScriptCore/wasm/WasmWorklist.h
M Source/WTF/wtf/AutomaticThread.cpp
M Source/WTF/wtf/AutomaticThread.h
M Tools/TestWebKitAPI/CMakeLists.txt
A Tools/TestWebKitAPI/Tests/WTF/AutomaticThread.cpp
Log Message:
-----------
[JSC] Drop ThreadSpecificAssemblerData heap buffer under memory pressure
https://bugs.webkit.org/show_bug.cgi?id=313213
Reviewed by Justin Michaud.
Implement AutomaticThread::requestTemporaryStop, so that code can ask
that the underlying thread stops in a restartable way. Add a similar
method to the JIT/Wasm worklists and call it in VM::deleteAllCode.
The destruction of the thread should enough to clear any thread-local
data on all platforms (tested for in
TestWebKitAPI/Tests/WTF/AutomaticThread.cpp).
Canonical link: https://commits.webkit.org/313140@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications