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: Field resolution -vs- JNI


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


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