RFR: 8310994: Add JFR event for selection operations

Alan Bateman alanb at openjdk.org
Fri Dec 8 06:33:16 UTC 2023


On Wed, 22 Nov 2023 12:08:08 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> It could also be interesting to provide the `timeout` that was given to the selection operation.

I've tried to work through issues, esp. around selector spinning, and being able to distinguish select from selectNow is important for all of them, so yes, the timeout is needed or else no emit when the timeout == 0 as that's the case you have to filter out when troubleshooting.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16710#discussion_r1419979779


More information about the core-libs-dev mailing list