Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8243c6b69d662e399040422aa67cf0efab62b69c
https://github.com/WebKit/WebKit/commit/8243c6b69d662e399040422aa67cf0efab62b69c
Author: Vassili Bykov <[email protected]>
Date: 2026-06-05 (Fri, 05 Jun 2026)
Changed paths:
M Source/JavaScriptCore/assembler/CPU.h
M Source/JavaScriptCore/bytecode/InlineCacheHandler.h
M Source/JavaScriptCore/parser/Lexer.cpp
M Source/JavaScriptCore/parser/Lexer.h
M Source/JavaScriptCore/parser/Parser.cpp
M Source/JavaScriptCore/parser/Parser.h
Log Message:
-----------
[JSC] Optimize the layout of Parser and Lexer
https://bugs.webkit.org/show_bug.cgi?id=316211
rdar://178641203
Reviewed by Yusuke Suzuki.
This patch rearranges the fields of Parser, Scope, and Lexer classes based on
access
frequency and affinity profiling to improve cache usage.
Also, the preprocessor macro CACHE_LINE_ALIGNED moved to CPU.h by an earlier
patch
is renamed as JSC_CACHE_LINE_ALIGNED.
Testing: no logic changes; covered by existing tests.
Canonical link: https://commits.webkit.org/314634@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications