This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Field resolution -vs- JNI
- To: Per Bothner <per at bothner dot com>
- Subject: Re: Field resolution -vs- JNI
- From: Tom Tromey <tromey at redhat dot com>
- Date: 23 Mar 2001 11:19:11 -0700
- Cc: Java Discuss List <java at gcc dot gnu dot org>
- References: <87d7b93vfu.fsf@creche.redhat.com> <m27l1h565j.fsf@kelso.bothner.com>
- Reply-To: tromey at redhat dot com
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