Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0a09c0224058e61ef812b47712ea651aa30fdbd3
https://github.com/WebKit/WebKit/commit/0a09c0224058e61ef812b47712ea651aa30fdbd3
Author: Sergey Rubanov <[email protected]>
Date: 2026-09-11 (Fri, 11 Sep 2026)
Changed paths:
M JSTests/wasm/gc/bulk-array-element-types.js
M Source/JavaScriptCore/wasm/WasmOperations.cpp
Log Message:
-----------
[JSC][Wasm] Initialize ref arrays with gcSafeMemfill
https://bugs.webkit.org/show_bug.cgi?id=323865
Reviewed by Yusuke Suzuki.
operationWasmArrayFillRefs filled already-visible ref arrays with a
volatile store loop so the concurrent marker would not see a torn
JSValue. Use gcSafeMemfill, the same helper JSWebAssemblyArray::fill
already uses.
The constructor still uses std::ranges::fill. The cell is not visible
to concurrent markers until finishCreation.
* Source/JavaScriptCore/wasm/WasmOperations.cpp:
* JSTests/wasm/gc/bulk-array-element-types.js:
Canonical link: https://commits.webkit.org/320951@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications