libgcj/222: GC: failure upon allocation inside a finalizer

Tom Tromey tromey@cygnus.com
Mon May 8 15:40:00 GMT 2000


The following reply was made to PR libgcj/222; it has been noted by GNATS.

From: Tom Tromey <tromey@cygnus.com>
To: "Boehm, Hans" <hans_boehm@hp.com>
Cc: "'java-gnats@sourceware.cygnus.com'" <java-gnats@sourceware.cygnus.com>,
        "'bryce@albatross.co.nz'" <bryce@albatross.co.nz>, tromey@cygnus.com,
        green@cygnus.com
Subject: RE: libgcj/222: GC: failure upon allocation inside a finalizer
Date: Mon, 8 May 2000 15:31:13 -0700 (PDT)

 Hans> We probably need to add some mechanism for having the collector
 Hans> notify the finalizer thread when there is something to do.
 Hans> Perhaps a callback that is invoked at the end of a GC when there
 Hans> are objects to be finalized?
 
 That would be perfect.  We'll have the finalizer thread wait on a
 condition variable, and we'll have the callback notify it.
 
 Tom


More information about the Java-prs mailing list