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
|
@ -522,6 +522,9 @@ extern void _Jv_JNI_Init (void);
|
|||
_Jv_JNIEnv *_Jv_GetCurrentJNIEnv ();
|
||||
void _Jv_SetCurrentJNIEnv (_Jv_JNIEnv *);
|
||||
|
||||
/* Free a JNIEnv. */
|
||||
void _Jv_FreeJNIEnv (_Jv_JNIEnv *);
|
||||
|
||||
struct _Jv_JavaVM;
|
||||
_Jv_JavaVM *_Jv_GetJavaVM ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue