Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e6bba582bc4ae7350ff27ca9c1bef656ac4bd31f
https://github.com/WebKit/WebKit/commit/e6bba582bc4ae7350ff27ca9c1bef656ac4bd31f
Author: Yusuke Suzuki <[email protected]>
Date: 2025-06-16 (Mon, 16 Jun 2025)
Changed paths:
M Source/JavaScriptCore/bytecode/CodeBlock.cpp
M Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp
M Source/JavaScriptCore/bytecode/StructureStubInfo.cpp
M Source/JavaScriptCore/bytecode/StructureStubInfo.h
M Source/JavaScriptCore/jit/GCAwareJITStubRoutine.cpp
M Source/JavaScriptCore/jit/GCAwareJITStubRoutine.h
Log Message:
-----------
[JSC] Ensure all visitWeak is called from StructureStubInfo
https://bugs.webkit.org/show_bug.cgi?id=294545
rdar://problem/153505034
Reviewed by Keith Miller.
Further safety related changes. Ensure that all children calls visitWeak
from StructureStubInfo to ensure everything is cleaned up before
StructureStubInfo and its stubRoutine gets destroyed eagerly.
* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::finalizeJITInlineCaches):
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp:
(JSC::PolymorphicAccess::visitWeak):
(JSC::InlineCacheHandler::visitWeak):
* Source/JavaScriptCore/bytecode/StructureStubInfo.cpp:
(JSC::StructureStubInfo::visitWeak):
(JSC::StructureStubInfo::visitWeakReferences): Deleted.
* Source/JavaScriptCore/bytecode/StructureStubInfo.h:
* Source/JavaScriptCore/jit/GCAwareJITStubRoutine.cpp:
(JSC::PolymorphicAccessJITStubRoutine::visitWeakImpl):
(JSC::MarkingGCAwareJITStubRoutine::visitWeakImpl):
* Source/JavaScriptCore/jit/GCAwareJITStubRoutine.h:
Canonical link: https://commits.webkit.org/296286@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