This is the mail archive of the
mailing list for the GCC project.
Re: Faster compilation speed [zone allocation]
- From: Lynn Winebarger <owinebar at free-expression dot org>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 15 Aug 2002 15:24:41 -0500
- Subject: Re: Faster compilation speed [zone allocation]
- References: <20020815190206.4597DF28C9@nile.gnat.com>
On Thursday 15 August 2002 14:02, Robert Dewar wrote:
> < Because the problem is not the garbage collection, its the
> allocation pattern. The proposal to use reference counting allows GCC to
> switch to an allocator with better locality -- it's a requirement for the
> underlying improvement, not a fix unto itself.
> But removing garbage collection entirely certainly gives some information.
> Another way of examining is to compile on a machine with a large level 2
> cache, and watch the compilation time vs size of thing being compiled.
Someone might try instrumenting the GC so you can see where memory
is getting allocated and (roughly) how long its living. It would require
looking for return addresses and then correlating those
with some debugging information.
Then there'd be something substantial to argue over.