RFR: JDK-8269092: Add OldObjectSampleEvent.allocationSize field

Ludovic Henry luhenry at openjdk.java.net
Thu Jun 24 12:37:15 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.

I've updated according to your review and slightly enhanced the test case.

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

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


More information about the hotspot-jfr-dev mailing list