mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 23:41:28 +08:00
jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
* jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function. (_Jv_JVMTI_Interface): Define DisposeEnvironment method. From-SVN: r115631
This commit is contained in:
parent
94f473ee2c
commit
326d5132e4
@ -1,3 +1,8 @@
|
||||
2006-07-20 Keith Seitz <keiths@redhat.com>
|
||||
|
||||
* jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
|
||||
(_Jv_JVMTI_Interface): Define DisposeEnvironment method.
|
||||
|
||||
2006-07-20 Keith Seitz <keiths@redhat.com>
|
||||
|
||||
* include/jvm.h (_Jv_GetJVMTIEnv): Declare.
|
||||
|
@ -16,6 +16,14 @@ details. */
|
||||
#define RESERVED NULL
|
||||
#define UNIMPLEMENTED NULL
|
||||
|
||||
static jvmtiError
|
||||
_Jv_JVMTI_DisposeEnvironment (jvmtiEnv *env)
|
||||
{
|
||||
// All we need to do is free memory allocated by _Jv_GetJVMTIEnv
|
||||
_Jv_Free (env);
|
||||
return JVMTI_ERROR_NONE;
|
||||
}
|
||||
|
||||
struct _Jv_jvmtiEnv _Jv_JVMTI_Interface =
|
||||
{
|
||||
RESERVED, // reserved1
|
||||
@ -144,7 +152,7 @@ struct _Jv_jvmtiEnv _Jv_JVMTI_Interface =
|
||||
UNIMPLEMENTED, // GetExtensionFunctions
|
||||
UNIMPLEMENTED, // GetExtensionEvents
|
||||
UNIMPLEMENTED, // SetExtensionEventCallback
|
||||
UNIMPLEMENTED, // DisposeEnvironment
|
||||
_Jv_JVMTI_DisposeEnvironment, // DisposeEnvironment
|
||||
UNIMPLEMENTED, // GetErrorName
|
||||
UNIMPLEMENTED, // GetJLocationFormat
|
||||
UNIMPLEMENTED, // GetSystemProperties
|
||||
|
Loading…
x
Reference in New Issue
Block a user