RFR: 8310996: Add JFR event for connect operations

Alan Bateman alanb at openjdk.org
Mon Oct 21 06:06:01 UTC 2024


On Mon, 21 Oct 2024 00:39:27 GMT, Tim Prinzing <tprinzing at openjdk.org> wrote:

> The non-blocking case is poorly handled. I'll update the JBS. The untimely use of finishConnect would cause an artificially bad looking event duration which might be a bit misleading.

My preference for now would be to focus on the blocking case. Why did my application pause for 30s? The other part to this will be the lookup methods in InetAddress as sometimes the apparent hang isn't establishing the connection but the DNS lookup.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21528#discussion_r1808149416


More information about the nio-dev mailing list