On Thu, 15 Feb 2024 02:45:26 GMT, Alex Menkov <amen...@openjdk.org> wrote:
>> The fix updates heap dumpers to report correct instance size value for >> HPROF_GC_CLASS_DUMP records (currently it's reported as size of all instance >> fields) >> >> Testing: tier1, tier2, tier5-svc > > Alex Menkov has updated the pull request incrementally with one additional > commit since the last revision: > > test bug id 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)? If so, then they have recourse if they prefer the current representation of "instance size", and manually computing the size in this manner would work with older hprof files too. ------------- PR Comment: https://git.openjdk.org/jdk/pull/17855#issuecomment-1949580967