This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Unreviewed patch to install include files from boehm-gc


Sorry for not replying the first time.

It looks fine to me, especially if you drop leak_detector.h from the list
for now.

There's some argument that leak_detector.h should be renamed to
gc_leak_detector.h if we're going to install it directly.  It was originally
intended more as an example than as a standard include file.

I'd be tempted to eventually also install gc_gcj.h and gc_typed.h.  The
first one is the interface used for most gcj allocation; the second is a
typed allocation interface that's probably a bit easier to use from C.  They
will rarely be used from C/C++, but having them there means that there's a
way out for some kinds of problems.

Note that none of the STL allocator interfaces (gc_alloc.h and
new_gc_alloc.h) currently work with v3 of the C++ library.  I wouldn't
install those for now.  Gc_cpp.h (the Ellis-Detlefs-Hull inheritance-based
interface) should be OK.  (I think it's fairly reliable with gcc.  There
have been some portability issues with other compilers.)

Hans

> -----Original Message-----
> From: Per Bothner [mailto:per@bothner.com]
> Sent: Thursday, September 06, 2001 12:14 PM
> To: java-patches@gcc.gnu.org
> Cc: hans_boehm@hp.com
> Subject: Unreviewed patch to install include files from boehm-gc
> 
> 
> No feedback so far on this patch.  I'd like to install it.
> 
> http://gcc.gnu.org/ml/java-patches/2001-q3/msg00341.html
> -- 
> 	--Per Bothner
> per@bothner.com   http://www.bothner.com/per/
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]