RFR: 8310996: Add JFR event for connect operations [v5]
Alan Bateman
alanb at openjdk.org
Tue Dec 3 12:36:41 UTC 2024
On Mon, 25 Nov 2024 13:23:23 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
>> Having a view for connect failures that doesn't require exceptions=all could be useful. Does this mean two events, one an instant event for the failures, the other a duration event for the connections that are slow to establish?
>
> A connection failure introduces a latency in the application, so probably best to have such an event durational as well.
@egahlin The updated PR proposes two duration events: jdk.SocketConnect for when a connection is established, and jdk.SocketConnectFailed for when a connection cannot be established. Naming aside, it seems that would allow the jfr views that you listed above.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21528#discussion_r1867647214
More information about the hotspot-jfr-dev
mailing list