RFR: 8284532: Memory leak in BitSet::BitMapFragmentTable in JFR leak profiler [v3]
Zhengyu Gu
zgu at openjdk.java.net
Tue Apr 26 19:44:01 UTC 2022
On Fri, 8 Apr 2022 03:42:39 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> > > Hi Zhengyu,
> > > small remark inline, otherwise this looks okay. This should really be a utility function in BasicHashMap.
> >
> >
> > Probably, I would like to defer it to separate CR, which it may touch quite a few places.
>
> Sure. You just follow established patterns here.
>
> > > What tests did you run?
> >
> >
> > Manual test with JFR recording `path-to-gc-roots=true`, then run `jcmd JFR.dump`
>
> How did you notice the memory leak? In NMT dumps?
Sorry, missed this comment earlier. No, I found it with `valgrind`
-------------
PR: https://git.openjdk.java.net/jdk/pull/8148
More information about the hotspot-jfr-dev
mailing list