[gclist] Precise GC's performance

fjh@cs.mu.OZ.AU fjh@cs.mu.OZ.AU
Sat, 2 Mar 1996 02:12:28 +1100 (EDT)


Darius Blasband, you wrote:
> 
> I did produce a version of the compiler which does not generate any
> GC-related code, and I ran a set of benchmark programs with enough memory
> so that GC is never called. Then, I ran the same set programs compiled
> with the normal GC-aware code generation, and it appears that keeping track 
> of the objects which are accessible at any given time (precise GC, thus)
> costs 17% of the total execution time. Given a few simple optimizations, 
> I think I can shrink this figure below the 15%, but I am not even sure
> it is worth the trouble... 

Could you explain in a bit more detail what the GC-related code you generate
is?

-- 
Any mail to me between Feb 24th and 27th may have gone to the bit bucket
(#&$^@$!# mail software silently ignored disk full error).  Please resend.
(comp.std.c++ articles were not affected, so no need to resend those.)
Fergus Henderson             	WWW: http://www.cs.mu.oz.au/~fjh
fjh@cs.mu.oz.au              	PGP: finger fjh@128.250.37.3