RFR: 8326012: JFR: Event for time to safepoint [v9]
Denghui Dong
ddong at openjdk.org
Tue Feb 27 11:09:53 UTC 2024
On Tue, 27 Feb 2024 09:53:26 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Should thread-local handshake be included in this event, or is it better done separately, or not at all?
In my opinion, if we need to record information for thread-local handshake, we'd better do it separately.
We may need more than one event or different fields than the event that this feature focuses on. Some information that I think we need to record:
- requester thread
- target thread(s)
- the time when the target thread starts processing
- handshake reason
- isAsync
...
As for whether we need to add JFR events for thread-local handshake, I want to first see if there are any problems in real workloads due to slow thread-local handshake.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17888#issuecomment-1966306092
More information about the hotspot-jfr-dev
mailing list