RFR: 8310994: Add JFR event for selection operations [v9]
Tim Prinzing
tprinzing at openjdk.org
Mon Apr 29 21:33:24 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 with a new target base due to a merge or a rebase. The pull request now contains 21 commits:
- fix merge
- Merge branch 'refs/heads/master' into JDK-8310994
# Conflicts:
# src/jdk.jfr/share/classes/jdk/jfr/internal/MirrorEvents.java
- more annotation fixup
- cleanup of annotations
- remove selector spin event attempt and associated test.
- update copyright dates
- Merge branch 'master' into JDK-8310994
# Conflicts:
# src/jdk.jfr/share/classes/jdk/jfr/internal/MirrorEvents.java
# src/jdk.jfr/share/classes/jdk/jfr/internal/instrument/JDKEvents.java
- comment fixup
- add select timeout field to the event
- Change event generation:
- selectNow is filtered out
- select that times out is always sent
- select without timeout uses duration test
- ... and 11 more: https://git.openjdk.org/jdk/compare/819f3d6f...dd43f4fa
-------------
Changes: https://git.openjdk.org/jdk/pull/16710/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16710&range=08
Stats: 277 lines in 9 files changed: 273 ins; 0 del; 4 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