This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Use Bohem's GC for compiler proper in 4.1?
- From: Mike Stump <mrs at apple dot com>
- To: Stefan Strasser <sstrasser at systemhaus-gruppe dot de>
- Cc: Andrew Haley <aph at redhat dot com>, Sam Lauber <sam124 at operamail dot com>, gcc at gcc dot gnu dot org
- Date: Fri, 1 Apr 2005 11:44:50 -0800
- Subject: Re: Use Bohem's GC for compiler proper in 4.1?
On Friday, April 1, 2005, at 08:48 AM, Stefan Strasser wrote:
if gcc uses more memory than physically available it spends a _very_
long time swapping
Swapping, what's that? Here's $20, go buy a gigabyte.
Now, having said that, we do believe that it would make for interesting
research to try less memory intensive algorithms, or to rearrange code
so that the working set is reduced to help boost cache hits. Currently
gcc takes a cache miss every 20 instructions, or some ungodly number,
and that really saps performance.
This is, generally speaking, just lots of hard work.
Good luck, let us know how it turns out.