RFR: JDK-8176520: Improve the accuracy of the instance size in hprof heap dumps [v3]

Alex Menkov amenkov at openjdk.org
Sat Feb 24 01:05:11 UTC 2024


On Fri, 23 Feb 2024 10:08:49 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> In the CSR you mention the two places we document the format. If this goes ahead, we should be updating them to be more specific, to declare that this field is not VM-independent, it has specific VM knowledge, so maybe for HPROF_GC_CLASS_DUMP:
> 
> u4 instance size (in bytes) becomes: u4 instance size (in bytes, including VM header, padding)

I updated the CSR

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

PR Comment: https://git.openjdk.org/jdk/pull/17855#issuecomment-1962189268


More information about the serviceability-dev mailing list