RFA: shrink minimal symbols

Daniel Jacobowitz drow@false.org
Wed Aug 27 20:58:00 GMT 2008


On Wed, Aug 27, 2008 at 02:00:30PM -0600, Tom Tromey wrote:
> I consistently see memory reductions of 4-8%.  Some figures:
> 
>     Program    Before    After       %
> 
>     OO.o       73490432  70692864  3.8
>     firefox    35336192  32542720  7.9
>     libgcj     15466496  14970880  3.2

The OO.o/firefox numbers are with shared libraries loaded, I assume.

Do you have any performance comparison?  I'm not too worried about
lookup performance - number of lookups is relatively low though with
full debug info I'd expect it to be linear to the number of minimal
symbols.  But I am concerned about startup time.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list