RFR: JDK-8269092: Add OldObjectSampleEvent.allocationSize field
Erik Gahlin
egahlin at openjdk.java.net
Thu Jun 24 10:30:29 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.
src/hotspot/share/jfr/metadata/metadata.xml line 630:
> 628: startTime="false" cutoff="true">
> 629: <Field type="Ticks" name="allocationTime" label="Allocation Time" />
> 630: <Field type="ulong" contentType="bytes" name="allocationSize" label="Allocation Size" />
I wonder if the label should be "Object Size" instead?
-------------
PR: https://git.openjdk.java.net/jdk/pull/4549
More information about the hotspot-jfr-dev
mailing list