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

Tim Prinzing tprinzing at openjdk.org
Wed Apr 10 23:51:34 UTC 2024


> 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.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16710/files
  - new: https://git.openjdk.org/jdk/pull/16710/files/2e11e84a..d10be83e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16710&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16710&range=04-05

  Stats: 46 lines in 2 files changed: 1 ins; 43 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/16710.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16710/head:pull/16710

PR: https://git.openjdk.org/jdk/pull/16710


More information about the core-libs-dev mailing list