RFR: 8211238: @Deprecated JFR event [v16]

Markus Grönlund mgronlun at openjdk.org
Tue Dec 5 18:12:43 UTC 2023


On Tue, 5 Dec 2023 18:06:32 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:

>> start_time is a JfrCHeapObj, which is an allocator that hooks allocations and deallocations. With a direct delete, it will account for the size of the object even though its null. It should probably be fixed in the allocator, but I needed this to get the accounting back on track.
>
> Thanks for the explanation. I got a bit confused ...

Thanks for noticing; I just checked that the allocator handles nullptr poorly. It should be easy to fix, but I will do it separately.

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

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


More information about the hotspot-jfr-dev mailing list