-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Make a bit defensive on jettisoning
https://bugs.webkit.org/show_bug.cgi?id=274672 rdar://126591959 Reviewed by Yijia Huang. Speculatively making a bit defensive against jettisoning. 1. Ensure jettisoning does not add dead CodeBlocks. 2. Loop finalizeCodeBlockEdge until we ensure that edge is cleared or edge is alive. 3. Clear CallSlot for dead cells in PolymorphicCallStubRoutine (not necessary, but just for defensive change). * Source/JavaScriptCore/jit/PolymorphicCallStubRoutine.cpp: (JSC::PolymorphicCallStubRoutine::visitWeakImpl): * Source/JavaScriptCore/runtime/ScriptExecutable.cpp: (JSC::ScriptExecutable::installCode): * Source/JavaScriptCore/runtime/ScriptExecutableInlines.h: (JSC::ScriptExecutable::finalizeCodeBlockEdge): Canonical link: https://commits.webkit.org/279292@main
- Loading branch information
1 parent
dd1da9b
commit fc1a727
Showing
3 changed files
with
35 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters