This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Zone allocating collector
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Mike Stump <mrs at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 9 Sep 2003 14:46:40 -0400 (EDT)
- Subject: Re: [PATCH]: Zone allocating collector
- References: <94A3B64A-E2F5-11D7-ADCE-003065A77310@apple.com>
On Tue, 9 Sep 2003, Mike Stump wrote:
> On Tuesday, September 9, 2003, at 06:04 AM, Daniel Berlin wrote:
> > It shaves a couple percent off bootstrap times (it varies from
> > platform to
> > platform how much).
>
> Looks enticing...
Given the same number of collections, we save 2-5% of the time due to
increased locality (on powerpc-linux and x86-linux).
IE gc times don't change if you have it collect the same number of times,
which isn't surprising, since gc time is dominated by marking.
We also get better memory usage in a lot of cases, because we can free
more pages (since we don't have random long-living objects scattered all
over the place).
>
>