[jdk17u-dev] RFR: 8283520: JFR: Memory leak in dcmd_arena

Aleksey Shipilev shade at openjdk.org
Tue May 23 15:20:45 UTC 2023


Unclean backport to resolve a memory leak and provide parity.
The backport is unclean, because the surrounding code is significantly different due to Loom upstream.

Additional testing:
 - [x] macos-aarch64-server-fastdebug, `jdk_jfr`
 - [x] Reproducer for the leak does not leak anymore

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

Commit messages:
 - Backport 6a8be358d2af34fab8798077202b998badaa5d54

Changes: https://git.openjdk.org/jdk17u-dev/pull/1388/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1388&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8283520
  Stats: 32 lines in 3 files changed: 23 ins; 2 del; 7 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1388.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1388/head:pull/1388

PR: https://git.openjdk.org/jdk17u-dev/pull/1388


More information about the jdk-updates-dev mailing list