[webkit-changes] [WebKit/WebKit] 5b0655: Reloading pages with shared Wasm memory in workers...
Yijia Huang
noreply at github.com
Tue Oct 29 10:06:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5b0655d476fe2a67bbee13c722a08bd0393cc063
https://github.com/WebKit/WebKit/commit/5b0655d476fe2a67bbee13c722a08bd0393cc063
Author: Yijia Huang <yijia_huang at apple.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M Source/JavaScriptCore/wasm/WasmOperationsInlines.h
Log Message:
-----------
Reloading pages with shared Wasm memory in workers leads to memory leaks
https://bugs.webkit.org/show_bug.cgi?id=281657
rdar://138547094
Reviewed by Mark Lam.
Previously, [1] introduced a termination mechanism for Atomics.wait.
So, waitImpl in WasmOperationsInlines.h should also throw termination
exceptions when necessary. Otherwise, worker threads may not terminate
as expected.
[1] https://commits.webkit.org/282974@main
* Source/JavaScriptCore/wasm/WasmOperationsInlines.h:
(JSC::Wasm::waitImpl):
Canonical link: https://commits.webkit.org/285841@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