Integrated: 8335121: Native memory leak when not recording any events

Markus Grönlund mgronlun at openjdk.org
Tue Aug 6 11:35:37 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

This pull request has now been integrated.

Changeset: ef909bdf
Author:    Markus Grönlund <mgronlun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ef909bdf7f08dfd67bac2665aa85f86c0e303db9
Stats:     5 lines in 1 file changed: 0 ins; 4 del; 1 mod

8335121: Native memory leak when not recording any events

Reviewed-by: egahlin, shade

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

PR: https://git.openjdk.org/jdk/pull/20434


More information about the hotspot-jfr-dev mailing list