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

Tim Prinzing tprinzing at openjdk.org
Tue Apr 30 00:34:07 UTC 2024


On Mon, 29 Apr 2024 20:01:38 GMT, Tim Prinzing <tprinzing at openjdk.org> wrote:

>> 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:
> 
>   fix mistake in merge

I went ahead and ran teir1 through teir3 tests on everything after the merge.  Everything passes so this is ready for integration.

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

PR Comment: https://git.openjdk.org/jdk/pull/18542#issuecomment-2083946114


More information about the core-libs-dev mailing list