On Sat, 17 Feb 2024 02:30:03 GMT, Alex Menkov <amen...@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

Reply via email to