Lines Matching refs:jvmtienv

118   ScopedThreadInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jthread thread)  in ScopedThreadInfo()  argument
119 : jvmtienv_(jvmtienv), env_(env), free_name_(false) { in ScopedThreadInfo()
123 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo()
151 ScopedClassInfo(jvmtiEnv* jvmtienv, jclass c) in ScopedClassInfo() argument
152 : jvmtienv_(jvmtienv), in ScopedClassInfo()
219 ScopedMethodInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m) in ScopedMethodInfo() argument
220 : jvmtienv_(jvmtienv), in ScopedMethodInfo()
298 ScopedFieldInfo(jvmtiEnv* jvmtienv, jclass field_klass, jfieldID field) in ScopedFieldInfo() argument
299 : jvmtienv_(jvmtienv), in ScopedFieldInfo()
371 static void doJvmtiMethodBind(jvmtiEnv* jvmtienv, in doJvmtiMethodBind() argument
378 ScopedThreadInfo thread_info(jvmtienv, env, thread); in doJvmtiMethodBind()
379 ScopedMethodInfo method_info(jvmtienv, env, m); in doJvmtiMethodBind()
388 static std::string GetName(jvmtiEnv* jvmtienv, JNIEnv* jnienv, jobject obj) { in GetName() argument
391 if (jvmtienv->GetClassSignature(klass, &cname, &cgen) != JVMTI_ERROR_NONE) { in GetName()
409 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(cname)); in GetName()
410 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(cgen)); in GetName()
451 void JNICALL FieldAccessHook(jvmtiEnv* jvmtienv, in FieldAccessHook() argument
459 ScopedThreadInfo info(jvmtienv, env, thread); in FieldAccessHook()
460 ScopedMethodInfo method_info(jvmtienv, env, m); in FieldAccessHook()
461 ScopedFieldInfo field_info(jvmtienv, field_klass, field); in FieldAccessHook()
463 ScopedClassInfo obj_class_info(jvmtienv, oklass); in FieldAccessHook()
475 static std::string PrintJValue(jvmtiEnv* jvmtienv, JNIEnv* env, char type, jvalue new_value) { in PrintJValue() argument
484 ScopedClassInfo nv_class_info(jvmtienv, nv_klass); in PrintJValue()
519 void JNICALL FieldModificationHook(jvmtiEnv* jvmtienv, in FieldModificationHook() argument
529 ScopedThreadInfo info(jvmtienv, env, thread); in FieldModificationHook()
530 ScopedMethodInfo method_info(jvmtienv, env, m); in FieldModificationHook()
531 ScopedFieldInfo field_info(jvmtienv, field_klass, field); in FieldModificationHook()
533 ScopedClassInfo obj_class_info(jvmtienv, oklass); in FieldModificationHook()
541 << PrintJValue(jvmtienv, env, type, new_value) << ". Thread is \"" in FieldModificationHook()
545 void JNICALL MethodExitHook(jvmtiEnv* jvmtienv, in MethodExitHook() argument
551 ScopedThreadInfo info(jvmtienv, env, thread); in MethodExitHook()
552 ScopedMethodInfo method_info(jvmtienv, env, m); in MethodExitHook()
559 std::string out_val(was_popped_by_exception ? "" : GetValOf(jvmtienv, env, type, val)); in MethodExitHook()
566 void JNICALL MethodEntryHook(jvmtiEnv* jvmtienv, in MethodEntryHook() argument
570 ScopedThreadInfo info(jvmtienv, env, thread); in MethodEntryHook()
571 ScopedMethodInfo method_info(jvmtienv, env, m); in MethodEntryHook()
579 void JNICALL ClassPrepareHook(jvmtiEnv* jvmtienv, in ClassPrepareHook() argument
584 CHECK_EQ(jvmtienv->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&data)), in ClassPrepareHook()
589 if (jvmtienv->GetClassFields(klass, &nfields, &fields) != JVMTI_ERROR_NONE) { in ClassPrepareHook()
596 jvmtienv->SetFieldAccessWatch(klass, f); in ClassPrepareHook()
597 jvmtienv->SetFieldModificationWatch(klass, f); in ClassPrepareHook()
599 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(fields)); in ClassPrepareHook()
602 ScopedThreadInfo info(jvmtienv, env, thread); in ClassPrepareHook()
603 ScopedClassInfo class_info(jvmtienv, klass); in ClassPrepareHook()
613 void JNICALL SingleStepHook(jvmtiEnv* jvmtienv, in SingleStepHook() argument
618 ScopedThreadInfo info(jvmtienv, env, thread); in SingleStepHook()
619 ScopedMethodInfo method_info(jvmtienv, env, method); in SingleStepHook()