[PATCH] LTO streamer reorg - try to reduce WPA memory use

Jan Hubicka hubicka@ucw.cz
Wed Jul 30 07:51:00 GMT 2014


> > Updated patch passing LTO bootstrap (one warning fix) and
> > with a memory leak fixed.
> 
> Testing with Firefox is impossible at the moment because of PR61885.
> One thing I've noticed (before the ICE) is that virtual memory usage is
> very high:
> 
> Address            Kbytes      RSS    Dirty  Mode  Mapping
> 0000000000400000    16344     9084        0  r-x-- lto1
> 00000000013f6000       36       36       28  rw--- lto1
> 00000000013ff000     1072      276      276  rw---   [ anon ]
> 00000000034aa000 10154940  1540384  1540384  rw---   [ anon ]
> 00002acf04af2000      136      136        0  r-x-- ld-2.19.90.so
> 00002acf04b14000       88       88       88  rw---   [ anon ]
> ...
> ----------------  -------  -------  ------- 
> total kB         12022060  3388396  3377708

You should get into the memory peak caused by streaming before we get
to the ICE.  I am about to commit the second half of the ipa-devirt
speculation changes that fixes the ICE.

Honza
> 
> -- 
> Markus



More information about the Gcc-patches mailing list