RFR: JDK-8176520: Improve the accuracy of the instance size in hprof heap dumps [v2]
Alan Bateman
alanb at openjdk.org
Fri Feb 16 15:27:54 UTC 2024
On Fri, 16 Feb 2024 01:23:42 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> When I proposed this change 10 years ago, there was a push back: https://bugs.openjdk.org/browse/JDK-8005604.
Right, the HPROF format was created to be independent of VM or any configuration. So JDK-8176520 is not really a bug, instead it is changing the meaning of the instance size field. Not opposed to doing that but I'm wondering if it means the version bytes at the start should be updated. I'm also wondering where the HPROF format is documented and if it now needs to be clarified. I think a CSR should be created to track this too.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17855#issuecomment-1948610723
More information about the serviceability-dev
mailing list