Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0ac24c765fc7b4a469e2e555e91e7064a6fe2d89
https://github.com/WebKit/WebKit/commit/0ac24c765fc7b4a469e2e555e91e7064a6fe2d89
Author: Yusuke Suzuki <[email protected]>
Date: 2025-09-18 (Thu, 18 Sep 2025)
Changed paths:
M Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp
M Source/JavaScriptCore/wasm/WasmTypeDefinition.h
Log Message:
-----------
[JSC] Keep RefPtr<RTT> in TypeDefinition
https://bugs.webkit.org/show_bug.cgi?id=299022
rdar://160781967
Reviewed by Yijia Huang.
It is weird that we are putting Ref<RTT> into m_rttMap in
TypeInformation. We should just put it to TypeDefinition
to avoid global locking and HashMap access.
* Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp:
(JSC::Wasm::TypeInformation::registerCanonicalRTTForType):
(JSC::Wasm::TypeInformation::createCanonicalRTTForType):
(JSC::Wasm::TypeInformation::getCanonicalRTT):
(JSC::Wasm::TypeInformation::tryCleanup):
(JSC::Wasm::TypeInformation::tryGetCanonicalRTT): Deleted.
* Source/JavaScriptCore/wasm/WasmTypeDefinition.h:
Canonical link: https://commits.webkit.org/300159@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes