RFR: 8337994: [REDO] Native memory leak when not recording any events

Markus Grönlund mgronlun at openjdk.org
Wed Aug 7 20:58:40 UTC 2024


Greetings,

This provides the proper fix for JDK-8335121, which was backed out because it caused a problem running with —ea and — esa.

The problem arises from the situation where the typeset system serializes primitive types but does not serialize their class loader (i.e. bootloader). 

Testing: jdk_jfr

Thanks
Markus

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

Commit messages:
 - 8337994

Changes: https://git.openjdk.org/jdk/pull/20501/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20501&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8337994
  Stats: 14 lines in 2 files changed: 9 ins; 4 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20501.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20501/head:pull/20501

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


More information about the hotspot-jfr-dev mailing list