[RFA] boehm-gc for AIX
David Edelsohn
dje@watson.ibm.com
Fri Jan 25 09:35:00 GMT 2002
>>>>> Tom Tromey writes:
>>>>> "David" == David Edelsohn <dje@watson.ibm.com> writes:
David> I thought when boehm-gc was being added to the GCC tree that
David> you mentioned something about the GCC version becoming the
David> master copy.
Tom> I thought the steering committee rejected this idea.
Maybe. I didn't remember. I assume Dr. Boehm will keep the GCC
and external versions in sync anyway.
David> I did not literally mean GC_INIT in libgcj.so, I meant the Java
David> libraries somehow arranging for GC_INIT to be called from the
David> Java program as part of initialization.
Tom> We can't enforce that for programs that use the invocation API.
Tom> We can't even ask it for programs that do this via JNI, since most
Tom> likely they are written to be portable across Java implementations.
I did not mean the programmer explicitly calling GC_INIT, I meant
either an implicit macro when the main Java program is invoked or
something like a static constructor (placing GC_INIT in a function).
If you do not call GC_INIT, you are not invoking boehm-gc
correctly, as that is part of the API. libgcj also may not work properly
on Windows or AIX which utilize that GC_INIT.
David
More information about the Gcc-patches
mailing list