ObjC configured --with-objc-gc needs external Boehm gc

Helge Hess helge.hess@skyrix.com
Tue Jan 16 16:03:00 GMT 2001


"Boehm, Hans" wrote:
> I can't think of any fundamental problems. I suspect Objective C normally
> wants the collector built to recognize all interior pointers, where gcj
> builds it without that option, so that interior pointers are recognized only
> if they're on a stack. This is currently a build time option, but that
> probably doesn't save very much anymore over making it a runtime option.

Hm, I don't remember - all-interior-ptrs are required for untyped memory
? The ObjC runtime uses typed allocation, so it might not require
all-interior-ptrs.
> Does Objective C normally use the collector with thread support?

I think that this is 50/50. The problem is that threading currently
slows down the runtime to some degree and therefore is often turned off
if threading is not required.
Personally I would really like to see a reuse of the gcc libgc, so that
no external lib is required.
Helge
> There are probably also other issues with the build process. Tom Tromey can
> probably comment on those.
>> Hans
>> > -----Original Message-----
> > From: Matthias Klose [ mailto:doko@cs.tu-berlin.de ]
> > Sent: Tuesday, January 16, 2001 2:07 PM
> > To: gcc@gcc.gnu.org
> > Cc: java-discuss@sources.redhat.com; ovidiu@cup.hp.com
> > Subject: ObjC configured --with-objc-gc needs external Boehm gc
> >
> >
> > The Objective C runtime library enabled with garbage collection needs
> > an external Boehm gc collector beeing installed at compile time. Is it
> > possible to build the libobjcgc library with the Boehm gc that is
> > already used for gcj?
> >

-- 
SKYRIX Software AG http://www.skyrix.com/
Join the team: http://www.skyrix.com/de/jobs/index.html


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /