RFR: 8310996: Add JFR event for connect operations [v5]
Erik Gahlin
egahlin at openjdk.org
Mon Nov 25 11:02:19 UTC 2024
On Mon, 25 Nov 2024 07:54:34 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> If a connection cannot be established then it might be immediate, 10s of milliseconds, maybe 60+ seconds in some cases. A slow down or stall waiting for a connection to be established seems a useful event to have recorded.
If it's immediate, a potential Socket Connection Failure event could overflow the buffers and we can't have it with threshold = 0s. Otherwise, it might be interesting to have something like:
`$ jfr view socket-connection-failures recording.jfr`
to see a complete list of failures per host/port and then have:
`$ jfr view slow-socket-connections recording.jfr`
to find which ones are slow, i.e. more than 10-20 ms.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21528#discussion_r1856393748
More information about the hotspot-jfr-dev
mailing list