RFR: 8296347: Memory leak from ClassPathDirEntry::_dir

David Holmes dholmes at openjdk.org
Fri Nov 4 02:59:28 UTC 2022


On Fri, 4 Nov 2022 01:34:42 GMT, Man Cao <manc at openjdk.org> wrote:

> 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

This appears correct, though I wonder if we ever actually delete these?

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the hotspot-runtime-dev mailing list