[webkit-changes] [WebKit/WebKit] b8454d: [JSC] Use simple Vector for BufferedStructures
Yusuke Suzuki
noreply at github.com
Wed May 8 15:06:37 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b8454d3a096356e8431c748f73417527eefca678
https://github.com/WebKit/WebKit/commit/b8454d3a096356e8431c748f73417527eefca678
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M Source/JavaScriptCore/bytecode/StructureStubInfo.cpp
M Source/JavaScriptCore/bytecode/StructureStubInfo.h
Log Message:
-----------
[JSC] Use simple Vector for BufferedStructures
https://bugs.webkit.org/show_bug.cgi?id=273863
rdar://127713950
Reviewed by Keith Miller.
This HashMap size is relatively small (since we have upper limit for IC feedback).
We should make it Vector since HashMap for this size is costly.
* Source/JavaScriptCore/bytecode/StructureStubInfo.cpp:
(JSC::StructureStubInfo::visitAggregateImpl):
(JSC::StructureStubInfo::visitWeakReferences):
* Source/JavaScriptCore/bytecode/StructureStubInfo.h:
(JSC::StructureStubInfo::considerRepatchingCacheImpl):
(JSC::StructureStubInfo::clearBufferedStructures):
Canonical link: https://commits.webkit.org/278530@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