This is the mail archive of the
mailing list for the Java project.
Re: ObjC configured --with-objc-gc needs external Boehm gc
- To: jeff dot sturm at commerceone dot com
- Subject: Re: ObjC configured --with-objc-gc needs external Boehm gc
- From: Tom Tromey <tromey at redhat dot com>
- Date: 17 Jan 2001 12:44:30 -0700
- Cc: "Boehm, Hans" <hans_boehm at hp dot com>, "'Helge Hess'" <helge dot hess at skyrix dot com>, "'Matthias Klose'" <doko at cs dot tu-berlin dot de>, gcc at gcc dot gnu dot org, java-discuss at sources dot redhat dot com, ovidiu at cup dot hp dot com
- References: <140D21516EC2D3119EE700902787664401E3A83E@hplex1.hpl.hp.com> <3A65E7BE.6E6AD1D2@appnet.com>
- Reply-To: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <email@example.com> writes:
Jeff> I believe the java frontend always maintains base pointers to
Jeff> live objects, not sure about objc.
We do for references on the heap. For references on the stack we just
hope that the right thing happens. That is, it might be the case that
you're right due to some side effect of the implementation, but we
certainly didn't plan it that way. Really fixing this requires GC
safety support from gcc. There's another thread about this elsewhere.
One thing to note is that even if this is a problem it is likely to be
extremely rare as it requires a peculiar set of circumstances.