diff options
Diffstat (limited to 'runtime/openjdkjvmti/OpenjdkJvmTi.cc')
| -rw-r--r-- | runtime/openjdkjvmti/OpenjdkJvmTi.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/openjdkjvmti/OpenjdkJvmTi.cc b/runtime/openjdkjvmti/OpenjdkJvmTi.cc index 10e877a62f..d9031ea652 100644 --- a/runtime/openjdkjvmti/OpenjdkJvmTi.cc +++ b/runtime/openjdkjvmti/OpenjdkJvmTi.cc @@ -39,7 +39,6 @@ #include "art_jvmti.h" #include "base/mutex.h" #include "events-inl.h" -#include "heap.h" #include "jni_env_ext-inl.h" #include "object_tagging.h" #include "obj_ptr-inl.h" @@ -47,6 +46,8 @@ #include "scoped_thread_state_change-inl.h" #include "thread_list.h" #include "thread-inl.h" +#include "ti_class.h" +#include "ti_heap.h" #include "ti_method.h" #include "ti_stack.h" #include "transform.h" @@ -345,7 +346,7 @@ class JvmtiFunctions { } static jvmtiError ForceGarbageCollection(jvmtiEnv* env) { - return ERR(NOT_IMPLEMENTED); + return HeapUtil::ForceGarbageCollection(env); } static jvmtiError IterateOverObjectsReachableFromObject( @@ -506,7 +507,7 @@ class JvmtiFunctions { jclass klass, char** signature_ptr, char** generic_ptr) { - return ERR(NOT_IMPLEMENTED); + return ClassUtil::GetClassSignature(env, klass, signature_ptr, generic_ptr); } static jvmtiError GetClassStatus(jvmtiEnv* env, jclass klass, jint* status_ptr) { @@ -648,13 +649,13 @@ class JvmtiFunctions { static jvmtiError GetMethodDeclaringClass(jvmtiEnv* env, jmethodID method, jclass* declaring_class_ptr) { - return ERR(NOT_IMPLEMENTED); + return MethodUtil::GetMethodDeclaringClass(env, method, declaring_class_ptr); } static jvmtiError GetMethodModifiers(jvmtiEnv* env, jmethodID method, jint* modifiers_ptr) { - return ERR(NOT_IMPLEMENTED); + return MethodUtil::GetMethodModifiers(env, method, modifiers_ptr); } static jvmtiError GetMaxLocals(jvmtiEnv* env, |