RFR: 8211238: @Deprecated JFR event [v15]

Jaroslav Bachorik jbachorik at openjdk.org
Tue Dec 5 16:11:39 UTC 2023


On Tue, 5 Dec 2023 14:05:55 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

>> Greetings,
>> 
>> please help review this enhancement to add a JFR event to report runtime invocations of methods that have been declared deprecated in the JDK.
>> 
>> Testing: jdk_jfr, CI 1-6, stress testing
>> 
>> Thanks
>> Markus
>
> Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:
> 
>   description and format specifier

src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp line 597:

> 595:   // committed, because the JFR system is yet to be started.
> 596:   // Therefore, the writer is cancelled before its destructor is run,
> 597:   // to avoid writing unnecessary inforamation into the checkpoint system.

Suggestion:

  // to avoid writing unnecessary information into the checkpoint system.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16931#discussion_r1415881909


More information about the hotspot-jfr-dev mailing list