jni.h (_Jv_JNIEnv::bottom_locals): New field.
2005-01-13 Graydon Hoare <graydon@redhat.com> * include/jni.h (_Jv_JNIEnv::bottom_locals): New field. * include/jvm.h (_Jv_FreeJNIEnv): Declare. * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv. * jni.cc: Reuse bottom frame between calls, avoid clearing frame when no local references are made. From-SVN: r93632
This commit is contained in:
parent
a0ee8b5f99
commit
84973b27e8
5 changed files with 98 additions and 21 deletions
|
@ -84,6 +84,7 @@ finalize_native (jobject ptr)
|
|||
#ifdef _Jv_HaveMutexDestroy
|
||||
_Jv_MutexDestroy (&nt->join_mutex);
|
||||
#endif
|
||||
_Jv_FreeJNIEnv(nt->jni_env);
|
||||
}
|
||||
|
||||
jint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue