RFC: Reduce GC root set to speed up GC...
Andrew Haley
aph@redhat.com
Wed Sep 8 12:10:00 GMT 2004
Ranjit Mathew writes:
> David Daney wrote:
> > Recently there have been some discussions about GC performance issues.
> > We are also looking at some things in this area.
> >
> > One thing that Hans Boehm suggested was to reduce the size of the root set.
> >
> > I have been thinking about how that might be done. Here is one idea:
>
> See also:
>
> http://gcc.gnu.org/ml/java/2002-06/msg00252.html
> http://gcc.gnu.org/ml/java-patches/2002-q2/msg00490.html
Well found. I'd forgotten all about that patch. Some of it looks
like it woould still be appropriate.
With regard to scanning instances of class Class, we have a plan to
use pointer-free class metadata and create them on the fly, so we
wouldn't need to treat them in any special way.
Andrew.
More information about the Java
mailing list