RFR: 8310994: Add JFR event for selection operations

Markus Grönlund mgronlun at openjdk.org
Tue Nov 28 18:24:10 UTC 2023


On Fri, 17 Nov 2023 16:22:55 GMT, Tim Prinzing <tprinzing at openjdk.org> wrote:

> Added mirror event with static methods: jdk.internal.event.SelectionEvent that provides the duration of select calls and the count of how many keys are available.
> 
> Emit the event from SelectorImpl::lockAndDoSelect
> 
> Test at jdk.jfr.event.io.TestSelectionEvents

It would be good to integrate this quite soon because it would release the reliance on ASM and let us only use the new ClassFile API. Now, we need to load both implementations, leading to startup regression.

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

PR Comment: https://git.openjdk.org/jdk/pull/16710#issuecomment-1830431950


More information about the nio-dev mailing list