This is the mail archive of the java@gcc.gnu.org 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: invocation interface


>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

Bryce> Do you think we need to require an explicit call to
Bryce> JvCreateJavaVM?

Don't we need to do this in order to process command-line arguments?

I think ideally both gij and JNI would simply use the CNI invocation
interface.  We'd have all the command-line processing and
initialization in a single place.

Bryce> By "FirstThread" I actually meant the "sentinal thread which
Bryce> sits in _Jv_ThreadWait waiting for all other non-daemon threads
Bryce> to die", not the gnu.gcj.FirstThread.

Sometime, probably in the not-too-distant future, this thread will
also be running finalizers for us.  We definitely need to keep at
least one worker thread around.  In the attach case we'll have to
create such a thread.

Tom


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