invocation interface

Jeff Sturm jsturm@one-point.com
Wed May 16 07:05:00 GMT 2001


Tom Tromey wrote:
> 
> Bryce> This interface is pretty much what I've had in mind.  Note also
> Bryce> that there are runtime initialization functions which need to
> Bryce> be run for GC initialization etc, so AttachCurrentThread needs
> Bryce> to check if the runtime has been initialized yet and do so if
> Bryce> neccessary.
> 
> I think this will happen as a side effect of simply loading the .so,
> as all the static constructors run to register classes.

>From other comments here I'd guessed static initializers are best
avoided. Registering classes is OK, but the bulk of VM initialization
ought to wait at least until main() has run, so command-line arguments
are available.

Jeff



More information about the Java mailing list