Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c1d30237589d2fa3fea2e0a76029783d73c2fac4
https://github.com/WebKit/WebKit/commit/c1d30237589d2fa3fea2e0a76029783d73c2fac4
Author: Yusuke Suzuki <[email protected]>
Date: 2024-04-29 (Mon, 29 Apr 2024)
Changed paths:
M Source/JavaScriptCore/heap/Heap.cpp
M Source/JavaScriptCore/heap/Heap.h
M Source/JavaScriptCore/heap/StopIfNecessaryTimer.cpp
M Source/JavaScriptCore/heap/StopIfNecessaryTimer.h
M Source/WebCore/bindings/js/CommonVM.cpp
Log Message:
-----------
[JSC] Disable StopIfNecessaryTimer on WebKit main thread
https://bugs.webkit.org/show_bug.cgi?id=273354
rdar://127152132
Reviewed by Keith Miller.
Because we have opportunistic task scheduler and GC timer, we do not need to
have StopIfNecessaryTimer
in the main thread VM of WebKit.
* Source/JavaScriptCore/heap/Heap.cpp:
(JSC::Heap::disableStopIfNecessaryTimer):
* Source/JavaScriptCore/heap/Heap.h:
* Source/JavaScriptCore/heap/StopIfNecessaryTimer.cpp:
(JSC::StopIfNecessaryTimer::scheduleSoon):
(JSC::StopIfNecessaryTimer::disable):
* Source/JavaScriptCore/heap/StopIfNecessaryTimer.h:
* Source/WebCore/bindings/js/CommonVM.cpp:
(WebCore::commonVMSlow):
Canonical link: https://commits.webkit.org/278115@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