Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0d81375a0f4ef33aeda284e2e941fd6e47613c19
      
https://github.com/WebKit/WebKit/commit/0d81375a0f4ef33aeda284e2e941fd6e47613c19
  Author: Sergey Rubanov <[email protected]>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M JSTests/wasm/gc/bulk-array-element-types.js
    M Source/JavaScriptCore/heap/GCMemoryOperations.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyArray.cpp

  Log Message:
  -----------
  [JSC] Fill Wasm GC arrays of references with gcSafeMemfill
https://bugs.webkit.org/show_bug.cgi?id=323628

Reviewed by Yusuke Suzuki.

JSWebAssemblyArray::fill of ref elements stored encoded JSValues one
at a time. Concurrent GC needs whole 8-byte writes. Add gcSafeMemfill
next to gcSafeZeroMemory and use it for that path, then one write
barrier, matching array.copy.

* Source/JavaScriptCore/heap/GCMemoryOperations.h:
* Source/JavaScriptCore/wasm/js/JSWebAssemblyArray.cpp:
* JSTests/wasm/gc/bulk-array-element-types.js:

Canonical link: https://commits.webkit.org/320819@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to