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: [PATCH][LTO] Reduce type merging memory usage


On Wed, Oct 14, 2009 at 11:47, Richard Guenther <rguenther@suse.de> wrote:
>
> This reduces the memory needed for type-merging of 483.xalancbmk
> by about 500MB. ÂYes - we're really spending that much on the
> type comparison cache - ugh.

Ugh, indeed.

> 2009-10-14 ÂRichard Guenther Â<rguenther@suse.de>
>
> Â Â Â Â* gimple.c (gtc_ob): New global.
> Â Â Â Â(struct type_pair_d): Replace pointers with type UIDs.
> Â Â Â Â(type_pair_hash): Adjust.
> Â Â Â Â(type_pair_eq): Likewise.
> Â Â Â Â(lookup_type_pair): Likewise. ÂAllocate from an obstack.
> Â Â Â Â(gimple_force_type_merge): Adjust.
> Â Â Â Â(gimple_types_compatible_p): Likewise.
> Â Â Â Â(free_gimple_type_tables): Free the obstack.

OK.


Diego.


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