RFR: 8335121: Native memory leak when not recording any events
Markus Grönlund
mgronlun at openjdk.org
Fri Aug 2 09:07:31 UTC 2024
On Fri, 2 Aug 2024 06:50:17 GMT, Erik Gahlin <egahlin 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).
Thanks @egahlin and @shipilev for your reviews!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20434#issuecomment-2264917048
More information about the hotspot-jfr-dev
mailing list