/art/runtime/openjdkjvmti/ |
D | events-inl.h | 121 JNIEnv* jnienv, in DispatchClassFileLoadHookEvent() argument 141 ScopedLocalRef<jthrowable> thr(jnienv, jnienv->ExceptionOccurred()); in DispatchClassFileLoadHookEvent() 142 jnienv->ExceptionClear(); in DispatchClassFileLoadHookEvent() 147 jnienv, in DispatchClassFileLoadHookEvent() 156 if (thr.get() != nullptr && !jnienv->ExceptionCheck()) { in DispatchClassFileLoadHookEvent() 157 jnienv->Throw(thr.get()); in DispatchClassFileLoadHookEvent() 197 inline void EventHandler::DispatchEvent(art::Thread* thread, JNIEnv* jnienv, Args... args) const { in DispatchEvent() argument 200 ScopedLocalRef<jthrowable> thr(jnienv, jnienv->ExceptionOccurred()); in DispatchEvent() 201 jnienv->ExceptionClear(); in DispatchEvent() 202 DispatchEvent<kEvent, JNIEnv*, Args...>(env, thread, jnienv, args...); in DispatchEvent() [all …]
|
D | events.cc | 314 void RunEventCallback(art::Thread* self, art::JNIEnvExt* jnienv, Args... args) in RunEventCallback() argument 316 ScopedLocalRef<jthread> thread_jni(jnienv, AddLocalRef<jthread>(jnienv, self->GetPeer())); in RunEventCallback() 318 jnienv->PushFrame(100); in RunEventCallback() 323 static_cast<JNIEnv*>(jnienv), in RunEventCallback() 327 jnienv->PopFrame(); in RunEventCallback() 338 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodEntered() local 340 jnienv, in MethodEntered() 358 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodExited() local 359 ScopedLocalRef<jobject> return_jobj(jnienv, AddLocalRef<jobject>(jnienv, return_value.Get())); in MethodExited() 363 jnienv, in MethodExited() [all …]
|
D | ti_method.cc | 58 art::JNIEnvExt* jnienv = thread->GetJniEnv(); in RegisterNativeMethod() local 60 jnienv, PhaseUtil::IsLivePhase() ? jnienv->AddLocalReference<jthread>(thread->GetPeer()) in RegisterNativeMethod() 65 static_cast<JNIEnv*>(jnienv), in RegisterNativeMethod()
|
D | events.h | 172 void DispatchEvent(art::Thread* thread, JNIEnv* jnienv, Args... args) const; 202 JNIEnv* jnienv,
|
/art/test/ti-agent/ |
D | trace_helper.cc | 43 JNIEnv* jnienv, in singleStepCB() argument 48 if (JvmtiErrorToException(jnienv, jvmti, in singleStepCB() 57 jobject method_arg = GetJavaMethod(jvmti, jnienv, method); in singleStepCB() 58 jnienv->CallStaticVoidMethod(data->test_klass, in singleStepCB() 63 jnienv->DeleteLocalRef(method_arg); in singleStepCB() 68 JNIEnv* jnienv, in fieldAccessCB() argument 76 if (JvmtiErrorToException(jnienv, jvmti, in fieldAccessCB() 86 jobject method_arg = GetJavaMethod(jvmti, jnienv, method); in fieldAccessCB() 87 jobject field_arg = GetJavaField(jvmti, jnienv, field_klass, field); in fieldAccessCB() 88 jnienv->CallStaticVoidMethod(data->test_klass, in fieldAccessCB() [all …]
|
D | breakpoint_helper.cc | 38 JNIEnv* jnienv, in breakpointCB() argument 43 if (JvmtiErrorToException(jnienv, jvmti, in breakpointCB() 51 jobject method_arg = GetJavaMethod(jvmti, jnienv, method); in breakpointCB() 52 jnienv->CallStaticVoidMethod(data->test_klass, in breakpointCB() 57 jnienv->DeleteLocalRef(method_arg); in breakpointCB()
|
/art/test/ti-stress/ |
D | stress.cc | 366 static std::string GetName(jvmtiEnv* jvmtienv, JNIEnv* jnienv, jobject obj) { in GetName() argument 367 jclass klass = jnienv->GetObjectClass(obj); in GetName() 371 jnienv->DeleteLocalRef(klass); in GetName() 377 const char* val = jnienv->GetStringUTFChars(str, nullptr); in GetName() 384 jnienv->ReleaseStringUTFChars(str, val); in GetName() 389 jnienv->DeleteLocalRef(klass); in GetName() 393 static std::string GetValOf(jvmtiEnv* env, JNIEnv* jnienv, std::string type, jvalue val) { in GetValOf() argument 398 return val.l != nullptr ? GetName(env, jnienv, val.l) : "null"; in GetValOf()
|