RFR: 8335121: Native memory leak when not recording any events
David Holmes
dholmes at openjdk.org
Wed Aug 7 00:14:34 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
FTR this changes causes many test failures in tier 3. Ref https://bugs.openjdk.org/browse/JDK-8335121
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20434#issuecomment-2272378656
More information about the hotspot-jfr-dev
mailing list