RFR: 8329138: Convert JFR FileForceEvent to static mirror event [v5]

Tim Prinzing tprinzing at openjdk.org
Wed Apr 17 01:34:07 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 incrementally with one additional commit since the last revision:

  test file local to test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18542/files
  - new: https://git.openjdk.org/jdk/pull/18542/files/70815943..366fca19

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

  Stats: 5 lines in 1 file changed: 1 ins; 1 del; 3 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 core-libs-dev mailing list