RFR: 8310037: Parallel/Serial: Space Counters classes leak helper instances [v2]
Zhengyu Gu
zgu at openjdk.org
Thu Jun 15 19:28:59 UTC 2023
On Thu, 15 Jun 2023 15:53:20 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> > Fwiw, this seems to be one of those memory leaks of (single) instances that would be cleaned out automatically at VM exit anyway, am I correct?
>
> And IIUC this code will never be called. How did you test the added code?
It does seem that the destructors are never called. I have no idea why it shows up in memory leak profiling, while `_space_name` does not.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14472#issuecomment-1593606694
More information about the hotspot-gc-dev
mailing list