This is the mail archive of the 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: ObjC configured --with-objc-gc needs external Boehm gc

"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

> 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.


> There are probably also other issues with the build process.  Tom Tromey can
> probably comment on those.
> Hans
> > -----Original Message-----
> > From: Matthias Klose []
> > Sent: Tuesday, January 16, 2001 2:07 PM
> > To:
> > Cc:;
> > 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
Join the team:

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