gctoolkit icon indicating copy to clipboard operation
gctoolkit copied to clipboard

Memory pool size data

Open ghost opened this issue 2 years ago • 2 comments
trafficstars

It is unclear that the parsers are collecting the right data needed to support calculations such as Memory Pool Size % based on the number of regions allocated to Eden, to, archive, reserved and old space.

ghost avatar Mar 07 '23 22:03 ghost

I think the parser collects the right data, but then there is a calculation to turn the number of regions into a number of bytes based on region size. The trouble is that the value for regionSize might be zero. It might be better to just set the number of regions.

dsgrieve avatar Mar 08 '23 18:03 dsgrieve

I think there is a data structure to collect the region information. I'll drop more testing in here today if that is ok with you David.

kcpeppe avatar Mar 09 '23 00:03 kcpeppe