RFR: 8296347: Memory leak from ClassPathDirEntry::_dir

Man Cao manc at openjdk.org
Fri Nov 4 01:41:29 UTC 2022


Hi all,

Could anyone review this fix for this memory leak in ClassPathDirEntry's constructor.

I'm sponsoring colleague Justin King <jcking at google.com> for this contribution, who found this leak with LeakSanitizer.

-Man

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

Commit messages:
 - 8296347: Memory leak from ClassPathDirEntry::_dir

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

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


More information about the hotspot-runtime-dev mailing list