GC Questions...

Boehm, Hans hans.boehm@hp.com
Fri Aug 20 20:10:00 GMT 2004

If someone approves it, I can check in my patch which makes it MUCH easier to
use the GC_DEBUG interface in the trunk version of gcj.  I'm working on a
revision of it to deal with some changes made during the GC6.3 integration,
but I think I'm close.  (There currently still seem to be some issues with
making the config options visible in all files.)

Earlier discussion ended with the message at


This partially addresses the question about boehm-gc.h, though I think it's
been a long time since I tried including gc.h there.  If someone can check that
it now works to include gc.h there, I wouldn't be opposed to doing things
that way.  (I'm pretty sure it didn't work when this code was written.)
I'd prefer to get the patch in, and then see if we can fix that.


> -----Original Message-----
> From: David Daney [mailto:ddaney@avtrex.com]
> Sent: Friday, August 20, 2004 9:56 AM
> To: java@gcc.gnu.org; Hans Boehm
> Subject: GC Questions...
> We are doing some GC hacking (trying to use the debug interface) to
> track down some memory problems and have the following question:
> * Why doesn't/can't libjava/include/boehm-gc.h include gc.h?  It means
> we have to keep the declarations in sync.
> * Has anyone else used the GC_DEBUG interface in conjunction 
> with libgcj?
> * Can we include gc.h in boehm.cc so we can get the size of the debug
> header for use in _Jv_MarkObj?
> * Any pointers?
> David Daney

More information about the Java mailing list