RFR: 8335121: Native memory leak when not recording any events
Markus Grönlund
mgronlun at openjdk.org
Thu Aug 1 21:17:56 UTC 2024
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
-------------
Commit messages:
- 8335121
Changes: https://git.openjdk.org/jdk/pull/20434/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20434&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8335121
Stats: 5 lines in 1 file changed: 0 ins; 4 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/20434.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20434/head:pull/20434
PR: https://git.openjdk.org/jdk/pull/20434
More information about the hotspot-jfr-dev
mailing list