[webkit-changes] [WebKit/WebKit] d7ea41: [JSC] Add activeJSGlobalObjectSignpostIntervalCount
Yusuke Suzuki
noreply at github.com
Thu Nov 16 21:29:28 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d7ea41a0fe54acaa353c26e56370a6c5d8835d64
https://github.com/WebKit/WebKit/commit/d7ea41a0fe54acaa353c26e56370a6c5d8835d64
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M Source/JavaScriptCore/runtime/JSCJSValue.h
M Source/JavaScriptCore/runtime/JSGlobalObject.cpp
Log Message:
-----------
[JSC] Add activeJSGlobalObjectSignpostIntervalCount
https://bugs.webkit.org/show_bug.cgi?id=265003
rdar://118545511
Reviewed by Mark Lam.
Add activeJSGlobalObjectSignpostIntervalCount global variable, which offers counter of active JSGlobalObject signpost intervals.
This is really useful since we can know whether we are inside signpost interval or not quickly by checking this number.
* Source/JavaScriptCore/runtime/JSGlobalObject.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/270864@main
More information about the webkit-changes
mailing list