RFR: JDK-8269092: Add OldObjectSampleEvent.allocationSize field

Erik Gahlin egahlin at openjdk.java.net
Tue Jun 22 15:41:31 UTC 2021


On Tue, 22 Jun 2021 08:32:56 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

> The data is already available in ObjectSample.allocated and getting this data
> in another way is complicated (via Instrumentation for example). Having the
> size of the objects also allows to augment the memory leak analysis based on
> the object size impact on top of based on the object count impact.

How will the "allocation size" help in the analysis?

I think this likely to confuse people more than actually help people find memory leaks.

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

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


More information about the hotspot-jfr-dev mailing list