Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 89f0eb31727334314b00125e000b064215d07cb7
https://github.com/WebKit/WebKit/commit/89f0eb31727334314b00125e000b064215d07cb7
Author: Yusuke Suzuki <[email protected]>
Date: 2024-04-19 (Fri, 19 Apr 2024)
Changed paths:
M Source/JavaScriptCore/bytecode/ObjectPropertyCondition.cpp
M Source/JavaScriptCore/bytecode/ObjectPropertyCondition.h
M Source/JavaScriptCore/bytecode/PropertyCondition.cpp
M Source/JavaScriptCore/bytecode/PropertyCondition.h
M Source/JavaScriptCore/dfg/DFGDesiredWatchpoints.cpp
M Source/JavaScriptCore/dfg/DFGDesiredWatchpoints.h
Log Message:
-----------
[JSC] Thread concurrency in DFG finalization to avoid using concurrent version
https://bugs.webkit.org/show_bug.cgi?id=272959
rdar://126737554
Reviewed by Keith Miller.
DFG finalization always happens on the main thread. So by threading concurrency
parameter correctly to ObjectPropertyCondition,
we can avoid using getDirectConcurrently with locking.
* Source/JavaScriptCore/bytecode/ObjectPropertyCondition.cpp:
(JSC::ObjectPropertyCondition::isWatchable const):
* Source/JavaScriptCore/bytecode/ObjectPropertyCondition.h:
* Source/JavaScriptCore/bytecode/PropertyCondition.cpp:
(JSC::PropertyCondition::isWatchableWhenValid const):
(JSC::PropertyCondition::isWatchableAssumingImpurePropertyWatchpoint const):
(JSC::PropertyCondition::isWatchable const):
* Source/JavaScriptCore/bytecode/PropertyCondition.h:
* Source/JavaScriptCore/dfg/DFGDesiredWatchpoints.cpp:
(JSC::DFG::ArrayBufferViewWatchpointAdaptor::add):
(JSC::DFG::SymbolTableAdaptor::add):
(JSC::DFG::FunctionExecutableAdaptor::add):
(JSC::DFG::AdaptiveStructureWatchpointAdaptor::add):
* Source/JavaScriptCore/dfg/DFGDesiredWatchpoints.h:
(JSC::DFG::SetPointerAdaptor::add):
(JSC::DFG::SetPointerAdaptor::hasBeenInvalidated):
(JSC::DFG::SymbolTableAdaptor::hasBeenInvalidated):
(JSC::DFG::FunctionExecutableAdaptor::hasBeenInvalidated):
(JSC::DFG::ArrayBufferViewWatchpointAdaptor::hasBeenInvalidated):
(JSC::DFG::AdaptiveStructureWatchpointAdaptor::hasBeenInvalidated):
Canonical link: https://commits.webkit.org/277765@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