RFR: 8284532: Memory leak in BitSet::BitMapFragmentTable in JFR leak profiler [v2]

Thomas Stuefe stuefe at openjdk.java.net
Fri Apr 8 03:45:39 UTC 2022


On Thu, 7 Apr 2022 18:50:09 GMT, Zhengyu Gu <zgu 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?

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

PR: https://git.openjdk.java.net/jdk/pull/8148


More information about the hotspot-jfr-dev mailing list