RFR: 8335121: Native memory leak when not recording any events
Erik Gahlin
egahlin at openjdk.org
Fri Aug 2 06:52:32 UTC 2024
On Thu, 1 Aug 2024 21:12:59 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
> Greetings,
>
> This minor adjustment prevents thread metadata memory from growing continuously when JFR does not record any events. A recording is running, meaning new threads will register their metadata. However, since no events are generated, metadata processing, including deallocation, is skipped. This is an old optimization that is no longer valid and is, therefore, removed.
>
> Testing: jdk_jfr
>
> Thanks
> Markus
Marked as reviewed by egahlin (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/20434#pullrequestreview-2214791395
More information about the hotspot-jfr-dev
mailing list