This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: A recent patch decreased GCC's memory consumption.
- From: Jan Hubicka <jh at suse dot cz>
- To: gcctest at suse dot de, dvorakz at suse dot cz
- Cc: jh at suse dot cz, gcc-regression at gcc dot gnu dot org
- Date: Sat, 21 Apr 2007 13:07:48 +0200
- Subject: Re: A recent patch decreased GCC's memory consumption.
- References: <46299351.mailV511F56U@suse.de>
Hi,
this
>
>
> comparing combine.c compilation at -O1 level:
> Ovarall memory allocated via mmap and sbrk decreased from 35557k to 33953k, overall -4.72%
> Overall memory needed: 35557k -> 33953k
> Peak memory use before GGC: 19347k
> Peak memory use after GGC: 19155k
> Maximum of released memory in single GGC run: 2273k
> Garbage: 51518k
> Leak: 6623k
> Overhead: 5991k
> GGC runs: 348
>
> comparing combine.c compilation at -O2 level:
> Ovarall memory allocated via mmap and sbrk decreased from 39973k to 38333k, overall -4.28%
> Overall memory needed: 39973k -> 38333k
> Peak memory use before GGC: 19415k
> Peak memory use after GGC: 19213k
> Maximum of released memory in single GGC run: 2200k
> Garbage: 67769k
> Leak: 6741k
> Overhead: 8056k
> GGC runs: 399
>
> comparing combine.c compilation at -O3 level:
> Ovarall memory allocated via mmap and sbrk decreased from 44257k to 42729k, overall -3.58%
> Overall memory needed: 44257k -> 42729k
> Peak memory use before GGC: 19714k
> Peak memory use after GGC: 19380k
> Maximum of released memory in single GGC run: 3715k
> Garbage: 92940k
> Leak: 6847k
> Overhead: 11444k
> GGC runs: 427
>
> comparing insn-attrtab.c compilation at -O2 level:
> Ovarall memory allocated via mmap and sbrk decreased from 195473k to 187945k, overall -4.01%
> Overall memory needed: 195473k -> 187945k
> Peak memory use before GGC: 74717k
> Peak memory use after GGC: 69433k
> Maximum of released memory in single GGC run: 29993k
> Garbage: 263315k
> Leak: 9402k
> Overhead: 32727k
> GGC runs: 245
>
> +2007-04-21 Zdenek Dvorak <dvorakz@suse.cz>
> +
> + * tree-ssa-structalias.c (delete_points_to_sets): Free graph->complex.
> + * tree-ssa-operands.c (finalize_ssa_vuse_ops): Free new_ops.
Is most probably caused by this patch.
Honza