This is the mail archive of the
mailing list for the GCC project.
Re: Use Bohem's GC for compiler proper in 4.1?
Stefan Strasser wrote:
Mike Stump schrieb:
On Friday, April 1, 2005, at 08:48 AM, Stefan Strasser wrote:expect memory to become a problem again with the advent of multicore and
people wanting to run more than one gcc at a time.
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.
I do have swapping on a 1 GB machine with 2 CPUs(-> 2 GCCs)
Memory bloat is a problem for embedded systems. Attitudes about just "buy
another gigabyte" is why i use C for everything for speed, portability,
compactness, and conciseness of design.
but that wasn't my argument, swapping was just what made me assume that
gcc gc does a full memory scan on each collection.
non-generational gc also performs bad without swapping on large heaps.
but I understand the objection that you want to keep exact GC(although
I'm not enough into gc to decide if it's worth it).