RFR: 8310994: Add JFR event for selection operations [v6]

Erik Gahlin egahlin at openjdk.org
Thu Apr 11 07:39:44 UTC 2024


On Wed, 10 Apr 2024 23:51:34 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
>
> Tim Prinzing has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove selector spin event attempt and associated test.

src/jdk.jfr/share/classes/jdk/jfr/events/SelectorSelectEvent.java line 33:

> 31: 
> 32: @Name(Type.EVENT_NAME_PREFIX + "SelectorSelect")
> 33: @Label("SelectorSelect")

This label should "Selector Select" and the description could be dropped as it doesn't add information.

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

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


More information about the nio-dev mailing list