RFR: 8326012: JFR: Event for safepoint timeout [v2]
Denghui Dong
ddong at openjdk.org
Fri Feb 16 16:14:53 UTC 2024
On Fri, 16 Feb 2024 14:24:00 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Can the event use the settings enabled and threshold instead of XX:+SafepointTimeout -XX:SafepointTimeoutDelay=x? Then the event can be configured from command line, a .jfc file and remotely over JMX. Perhaps the event can be enabled by default with a high threshold? Would this work, or am I missing something?
It works.
If implemented in this way, I think `EventTimeToSafepoint` is a more suitable name.
`start_time` of this event is `SafepointTracing::_last_safepoint_begin_time_ns`, and `end_time` is the time when vm_thread found the target thread is not running.
What do you think?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17888#issuecomment-1948766675
More information about the hotspot-jfr-dev
mailing list