RFR: 8211238: @Deprecated JFR event [v16]

Jaroslav Bachorik jbachorik at openjdk.org
Tue Dec 5 17:46:40 UTC 2023


On Tue, 5 Dec 2023 16:05:58 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:
> 
>   update event description

src/hotspot/share/jfr/support/jfrNativeLibraryLoadEvent.cpp line 37:

> 35:   if (_start_time != nullptr) {
> 36:     delete _start_time;
> 37:   }

This should not be necessary. Delete should not fail on `nullptr`.

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

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


More information about the hotspot-jfr-dev mailing list