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] Avoid ggc_collect () after WPA forking


There are stats for Firefox with LTO and -O2. According to graphs it
looks that memory consumption for parallel WPA phase is similar.
When I disable parallel WPA, wpa footprint is ~4GB, but ltrans memory
footprint is similar to parallel WPA that reduces libxul.so linking by ~10%.

Martin


On 03/19/2014 01:30 PM, Richard Biener wrote:
On Wed, 19 Mar 2014, Steven Bosscher wrote:

On Wed, Mar 19, 2014 at 12:10 PM, Richard Biener wrote:
Index: gcc/ggc-page.c
===================================================================
--- gcc/ggc-page.c      (revision 208642)
+++ gcc/ggc-page.c      (working copy)
@@ -1199,6 +1199,8 @@ ggc_round_alloc_size (size_t requested_s
    return size;
  }

+int may_alloc = 1;
"bool may_alloc"?
It's only checking code I didn't commit.  We may of course alloc
but I wanted to prove we don't.

Richard.

Attachment: vmstats.tar.bz2
Description: application/bzip


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