This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [RFA] boehm-gc for AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Cc: Tom Tromey <tromey at redhat dot com>, "Boehm, Hans" <hans_boehm at hp dot com>, hboehm at gcc dot gnu dot org, java at gcc dot gnu dot org, jsturm at mars dot deadcafe dot org
- Date: Tue, 29 Jan 2002 10:55:10 -0500
- Subject: Re: [RFA] boehm-gc for AIX
>>>>> Fergus Henderson writes:
Fergus> I'm talking about the case where you have a C program which does not
Fergus> use Java.
Fergus> I was suggesting that [*on those architectures where it is needed*]
Fergus> GCC would insert appropriate code to initialize the collector
Fergus> in main(). GCC couldn't tell when it sees main() whether or
Fergus> not the program uses Java via JNI. So it would need to do it
Fergus> for all programs, even those that don't use Java.
I only am suggesting this for the case of gcj compiling main.
Jeff Sturm has a good argument why finding the roots for JNI is not
necessary or desirable.
David