/art/test/ti-agent/ |
H A D | frame_pop_helper.cc | 35 JNIEnv* jnienv, 40 if (JvmtiErrorToException(jnienv, jvmti, 46 if (JvmtiErrorToException(jnienv, 52 jobject method_arg = GetJavaMethod(jvmti, jnienv, frame_method); 53 jnienv->CallStaticVoidMethod(data->test_klass, 58 jnienv->DeleteLocalRef(method_arg); 34 framePopCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr, jmethodID method ATTRIBUTE_UNUSED, jboolean was_popped_by_exception) argument
|
H A D | breakpoint_helper.cc | 38 JNIEnv* jnienv, 43 if (JvmtiErrorToException(jnienv, jvmti, 51 jobject method_arg = GetJavaMethod(jvmti, jnienv, method); 52 jnienv->CallStaticVoidMethod(data->test_klass, 57 jnienv->DeleteLocalRef(method_arg); 37 breakpointCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thread, jmethodID method, jlocation location) argument
|
H A D | exceptions_helper.cc | 38 JNIEnv* jnienv, 46 if (JvmtiErrorToException(jnienv, jvmti, 51 if (!jnienv->IsInstanceOf(throwable, data->exception_klass)) { 54 jthrowable e = jnienv->ExceptionOccurred(); 55 jnienv->ExceptionClear(); 57 jobject throw_method_arg = GetJavaMethod(jvmti, jnienv, throw_method); 59 catch_method != nullptr ? GetJavaMethod(jvmti, jnienv, catch_method) : nullptr; 60 jnienv->CallStaticVoidMethod(data->test_klass, 68 jnienv->DeleteLocalRef(throw_method_arg); 70 jnienv 37 exceptionCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thread, jmethodID throw_method, jlocation throw_location, jobject throwable, jmethodID catch_method, jlocation catch_location) argument 78 exceptionCatchCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thread, jmethodID catch_method, jlocation catch_location, jobject throwable) argument [all...] |
H A D | monitors_helper.cc | 82 JNIEnv* jnienv, 86 if (JvmtiErrorToException(jnienv, jvmti, 90 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { 93 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_enter, thr, obj); 96 JNIEnv* jnienv, 100 if (JvmtiErrorToException(jnienv, jvmti, 104 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { 107 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_entered, thr, obj); 110 JNIEnv* jnienv, 115 if (JvmtiErrorToException(jnienv, jvmt 81 monitorEnterCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr, jobject obj) argument 95 monitorEnteredCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr, jobject obj) argument 109 monitorWaitCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr, jobject obj, jlong timeout) argument 124 monitorWaitedCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr, jobject obj, jboolean timed_out) argument [all...] |
H A D | trace_helper.cc | 57 ScopedCallbackState(JNIEnv* jnienv, jvmtiEnv* env, jthread thr) argument 58 : jnienv_(jnienv), env_(env), thr_(thr) { 99 JNIEnv* jnienv, 102 if (JvmtiErrorToException(jnienv, jvmti, 106 ScopedLocalRef<jclass> klass(jnienv, data->GetTestClass(jvmti, jnienv)); 111 jnienv->CallStaticVoidMethod(klass.get(), data->thread_start, thread); 114 JNIEnv* jnienv, 117 if (JvmtiErrorToException(jnienv, jvmti, 121 ScopedLocalRef<jclass> klass(jnienv, dat 98 threadStartCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thread) argument 113 threadEndCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thread) argument 129 singleStepCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thread, jmethodID method, jlocation location) argument 157 fieldAccessCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr, jmethodID method, jlocation location, jclass field_klass, jobject object, jfieldID field) argument 193 fieldModificationCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr, jmethodID method, jlocation location, jclass field_klass, jobject object, jfieldID field, char type_char, jvalue new_value) argument 238 methodExitCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr, jmethodID method, jboolean was_popped_by_exception, jvalue return_value) argument 275 methodEntryCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr, jmethodID method) argument 304 classPrepareCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jthread thr ATTRIBUTE_UNUSED, jclass klass) argument [all...] |
/art/openjdkjvmti/ |
H A D | events-inl.h | 149 void ExecuteCallback(JNIEnv* jnienv, Args... args) const { \ 151 ScopedEventDispatchEnvironment sede(jnienv); \ 152 DoExecute(jnienv, args...); \ 205 JNIEnv* jnienv, 222 jnienv, 236 jnienv, 282 inline void EventHandler::DispatchEvent(art::Thread* thread, JNIEnv* jnienv, Args... args) const { argument 285 jnienv, 288 ExecuteCallback<kEvent>(event, jnienv, args...); 294 ArtJvmTiEnv* env, art::Thread* thread, JNIEnv* jnienv, Arg 204 DispatchClassFileLoadHookEvent(art::Thread* thread, JNIEnv* jnienv, jclass class_being_redefined, jobject loader, const char* name, jobject protection_domain, jint class_data_len, const unsigned char* class_data, jint* new_class_data_len, unsigned char** new_class_data) const argument 293 DispatchEventOnEnv( ArtJvmTiEnv* env, art::Thread* thread, JNIEnv* jnienv, Args... args) const argument 324 ExecuteCallback(impl::EventHandlerFunc<kEvent> handler, JNIEnv* jnienv, Args... args) argument 411 ExecuteCallback( impl::EventHandlerFunc<ArtJvmtiEvent::kFramePop> event, JNIEnv* jnienv, jthread jni_thread, jmethodID jmethod, jboolean is_exception, const art::ShadowFrame* frame ATTRIBUTE_UNUSED) argument 424 DispatchEvent(art::Thread* thread, JNIEnv* jnienv, jthread jni_thread, jmethodID method, void* cur_method, void** new_method) const argument 458 DispatchEvent( art::Thread* thread, JNIEnv* jnienv, jclass class_being_redefined, jobject loader, const char* name, jobject protection_domain, jint class_data_len, const unsigned char* class_data, jint* new_class_data_len, unsigned char** new_class_data) const argument 483 DispatchEvent( art::Thread* thread, JNIEnv* jnienv, jclass class_being_redefined, jobject loader, const char* name, jobject protection_domain, jint class_data_len, const unsigned char* class_data, jint* new_class_data_len, unsigned char** new_class_data) const argument [all...] |
H A D | events.cc | 244 art::JNIEnvExt* jnienv, 247 ScopedLocalRef<jthread> thread_jni(jnienv, AddLocalRef<jthread>(jnienv, self->GetPeer())); 249 static_cast<JNIEnv*>(jnienv), 343 art::JNIEnvExt* jnienv = self->GetJniEnv(); local 344 ScopedLocalRef<jobject> mon(jnienv, AddLocalRef<jobject>(jnienv, m->GetObject())); 348 jnienv, 357 art::JNIEnvExt* jnienv = self->GetJniEnv(); local 358 ScopedLocalRef<jobject> mon(jnienv, AddLocalRe 371 art::JNIEnvExt* jnienv = self->GetJniEnv(); local 398 art::JNIEnvExt* jnienv = self->GetJniEnv(); local 490 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 511 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 537 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 563 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 595 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 616 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 641 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 673 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 702 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 788 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable 817 art::JNIEnvExt* jnienv = self->GetJniEnv(); variable [all...] |
H A D | ti_class.cc | 921 art::JNIEnvExt* jnienv = self->GetJniEnv(); local 923 jnienv->IsInstanceOf(loader, art::WellKnownClasses::java_lang_BootClassLoader)) { 930 if (!jnienv->IsInstanceOf(loader, art::WellKnownClasses::java_lang_ClassLoader)) { 932 } else if (!jnienv->IsInstanceOf(loader,
|
H A D | ti_method.cc | 72 art::JNIEnvExt* jnienv = thread->GetJniEnv(); local 74 jnienv, PhaseUtil::IsLivePhase() ? jnienv->AddLocalReference<jthread>(thread->GetPeer()) 79 static_cast<JNIEnv*>(jnienv),
|
/art/test/1940-ddms-ext/ |
H A D | ddm_ext.cc | 114 static void JNICALL PublishCB(jvmtiEnv* jvmti, JNIEnv* jnienv, jint type, jint size, jbyte* bytes) { argument 116 if (JvmtiErrorToException(jnienv, jvmti, 120 ScopedLocalRef<jbyteArray> res(jnienv, jnienv->NewByteArray(size)); 121 jnienv->SetByteArrayRegion(res.get(), 0, size, bytes); 122 jnienv->CallStaticVoidMethod(data->test_klass, data->publish_method, type, res.get());
|
/art/test/ti-stress/ |
H A D | stress.cc | 388 static std::string GetName(jvmtiEnv* jvmtienv, JNIEnv* jnienv, jobject obj) { argument 389 jclass klass = jnienv->GetObjectClass(obj); 393 jnienv->DeleteLocalRef(klass); 399 const char* val = jnienv->GetStringUTFChars(str, nullptr); 406 jnienv->ReleaseStringUTFChars(str, val); 411 jnienv->DeleteLocalRef(klass); 415 static std::string GetValOf(jvmtiEnv* env, JNIEnv* jnienv, std::string type, jvalue val) { argument 420 return val.l != nullptr ? GetName(env, jnienv, val.l) : "null";
|