This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Statistics for varray GGC memory consumption


> In message <20040120002600.GD8495@atrey.karlin.mff.cuni.cz>, Jan Hubicka writes
> :
>  >OK, I will wait for your changes then.
> OK.
> 
>  >Would you consider usefull if I cleaned up the per-name statistics so we
>  >at least have some information on how much of problem varrays have?
> Most definitely.
OK, will do tomorrow.
Here is report for mainline compiler, in case you consider to trim
something down even for 3.4 release branch.  cselib is obivous target
for sanification in this respect.

VARRAYs allocated by malloc

VARRAY Kind            Count      Bytes
---------------------------------------
prologue                 287      10892
epilogue                 287      10836
fns                       47       6768
fns                     2562     128688
inlined_fns              560     111104
block_stack              752      93272
sibcall_epilogue         287       4660
insn_addresses           287    3818456
reg_n_info                 1      12676
basic_block_info        1595     732344
mangling substitutions  8533     462868
---------------------------------------
Total                  15198    5392564
---------------------------------------
VARRAYs allocated by Garbage collector

VARRAY Kind            Count      Bytes
---------------------------------------
Static declarations        4       2176
alias sets                 1      16428
reg_values               289    3158528
used_regs                289    3158528
file_locators_files      287      87296
deferred_fns               1     261888
RTTI decls                 1       1964
ttype_data               160      17280
block_locators_locs      287    1278720
block_locators_blocks    287    1278720
local_classes              1         64
line_locators_locs       287     134912
line_locators_lines      287     134912
file_locators_locs       287      87296
ssdf_decls                 1        256
saved_tokens            2402     102972
strings                 2402     614912
local_names                1         64
current_lang_base       7726     494464
action_record_data       160      17280
inline_parm_levels         1         32
ehspec_data              160      17280
pending_statics            1      16128
---------------------------------------
Total                  15322   10882100
---------------------------------------
/usr/bin/ld: cannot open /home/hubicka/: File format not recognized
collect2: ld returned 1 exit status


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]