record object number in AgeTable for G1

Thomas Schatzl thomas.schatzl at oracle.com
Tue Jan 15 09:04:11 UTC 2019


Hi,

On Tue, 2019-01-15 at 02:26 +0000, 臧琳 wrote:
> Hi all, 
>         I recently worked with G1 and found that the AgeTable records
> the number of bytes for every age. But it is hard to get the object
> count for every age, I think it may be useful when I want to know how
> is the object distribution looks like for every age. so I made a
> patch to make AgeTable record the object count. 
>         do you think it is a reasonable change?

  in such cases, i.e. changes to the core evacuation method, the
problem is typically not so much adding information, but weighing the
impact on pause times vs. the gain.

I.e. such a change would need to be thoroughly performance-tested.

Thanks,
  Thomas




More information about the hotspot-gc-dev mailing list