RFR: JDK-8176520: Improve the accuracy of the instance size in hprof heap dumps [v2]
Alan Bateman
alanb at openjdk.org
Mon Feb 19 09:02:55 UTC 2024
On Sat, 17 Feb 2024 02:30:03 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> Can't the instance size as currently computed be computed by hprof tool vendors using class information already present in the hprof file (list of class fields and types, class hierarchy info, etc)?
That would still be based on VM independent sizes. I think what Alex is looking for is to have HotSpot VM specific sizes be included in the heap dump. I suspect this will require rev'ing the HPROF format, in which case it opens the potential to include object layout information.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17855#issuecomment-1951984754
More information about the serviceability-dev
mailing list