Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5ecce0f050d283d922a3a68100c1a583edb432be
https://github.com/WebKit/WebKit/commit/5ecce0f050d283d922a3a68100c1a583edb432be
Author: Yusuke Suzuki <[email protected]>
Date: 2026-07-01 (Wed, 01 Jul 2026)
Changed paths:
M Source/JavaScriptCore/heap/SlotVisitor.cpp
Log Message:
-----------
[JSC] Manually pipeline memory fetching for GC marking
https://bugs.webkit.org/show_bug.cgi?id=318297
rdar://181088818
Reviewed by Keith Miller and Dan Hecht.
In GC marking, the highest cost comes from marking a large graph, and it
is bound by a cache miss for each GC-managed cell.
This patch adds manual pipelining of cell prefetching. We keep the one
next cell pointer and issuing a prefetch while handling the current cell
so that prefetch can be in flight while handling the current cell,
reducing a stale by pipelining the memory access.
* Source/JavaScriptCore/heap/SlotVisitor.cpp:
(JSC::SlotVisitor::drain):
Canonical link: https://commits.webkit.org/316327@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications