Statistics for varray GGC memory consumption

Andrew MacLeod amacleod@redhat.com
Mon Jan 19 18:08:00 GMT 2004


On Mon, 2004-01-19 at 08:45, Jan Hubicka wrote:
> 
> Hi,
> I am somewhat concerned about use of varrays in GGC memory that produce
> relatively large amount of garbage (a lot of that without good reason as
> we can use malloc scheme instead, just we don't), thus I've implemented
> statistics routines.  Quick checking found that for Geralds testcase
> does about 13MB of varrays, while tree-SSA does 63MB.  The average
> overhead per varray is over 10KB so operands are not to blame here IMO.
> 

What operands do you refer to? ssa operands are no longer using varrays,
so they wouldnt be a factor anyway.

Andrew




More information about the Gcc-patches mailing list