Field resolution -vs- JNI
Tom Tromey
tromey@redhat.com
Fri Mar 23 10:09:00 GMT 2001
Per> As a general goal, I think we should try to resolve as much at
Per> compile- or link-time. I'd like it so we only need to initilize
Per> classes that have non-trivial class initializers - and some of
Per> those can also be avoided by static object allocation.
I agree. Right now we call _Jv_InitClass way too much. Eliminating
those calls when possible would be nice. For trivial classes we could
compile the class in a pre-initialized state.
Tom
More information about the Java
mailing list