RFR: 8211238: @Deprecated JFR event [v8]

Markus Grönlund mgronlun at openjdk.org
Thu Dec 7 10:48:46 UTC 2023


On Mon, 4 Dec 2023 15:08:55 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:

>> Hi @mgronlun - sorry for opening a design discussion in PR :(
>> 
>> I wonder - will this report each single one invocation of a deprecated method conforming to the rules (JDK method called from non-JDK code)? Can this, potentially, flood the recording if the deprecated method gets called from a hot loop?
>
>> Hi @jbachorik, it will only report one event per unique call site, during link time. Its not a function of hotness, only unique edge discovery.
> 
> Excellent! Thanks!

Many thanks, @jbachorik and @egahlin, for your reviews - much appreciated!

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

PR Comment: https://git.openjdk.org/jdk/pull/16931#issuecomment-1845110765


More information about the hotspot-jfr-dev mailing list