RFR: 8329138: Convert JFR FileForceEvent to static mirror event [v9]
Tim Prinzing
tprinzing at openjdk.org
Mon Apr 29 19:57:32 UTC 2024
> Currently the JFR event FileForceEvent is generated by instrumenting the sun.nio.ch.FileChannelImpl class. This needs to be changed to use the newer mirror events with static methods.
>
> Added the event at jdk.internal.event.FileForceEvent, and changed jdk.jfr.events.FileForceEvent to be a mirror event.
>
> Updated FileChannelImpl to use the jdk internal event static methods, and removed the force() method from FileChannelImplInstrumentor.
>
> Uses the existing tests.
Tim Prinzing has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits:
- Merge branch 'refs/heads/master' into JDK-8329138
- remove unecessary blank line
- IntelliJ trying to help
- undo fix being handled in JDK-8329330.
- test file local to test
- fix windows build issue
- requested changes
- Add support for AsynchronousFileChannel.force().
- javadoc fixup
- remove mirrors from JDKEvents
- ... and 1 more: https://git.openjdk.org/jdk/compare/819f3d6f...743b92a6
-------------
Changes: https://git.openjdk.org/jdk/pull/18542/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18542&range=08
Stats: 279 lines in 12 files changed: 238 ins; 27 del; 14 mod
Patch: https://git.openjdk.org/jdk/pull/18542.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18542/head:pull/18542
PR: https://git.openjdk.org/jdk/pull/18542
More information about the nio-dev
mailing list