• Home
  • Raw
  • Download

Lines Matching refs:jvmtienv

123   ScopedThreadInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jthread thread)  in ScopedThreadInfo()  argument
124 : jvmtienv_(jvmtienv), env_(env), free_name_(false) { in ScopedThreadInfo()
128 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo()
156 ScopedClassInfo(jvmtiEnv* jvmtienv, jclass c) in ScopedClassInfo() argument
157 : jvmtienv_(jvmtienv), in ScopedClassInfo()
217 ScopedMethodInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m) in ScopedMethodInfo() argument
218 : jvmtienv_(jvmtienv), in ScopedMethodInfo()
289 ScopedFieldInfo(jvmtiEnv* jvmtienv, jclass field_klass, jfieldID field) in ScopedFieldInfo() argument
290 : jvmtienv_(jvmtienv), in ScopedFieldInfo()
355 static void doJvmtiMethodBind(jvmtiEnv* jvmtienv, in doJvmtiMethodBind() argument
362 ScopedThreadInfo thread_info(jvmtienv, env, thread); in doJvmtiMethodBind()
363 ScopedMethodInfo method_info(jvmtienv, env, m); in doJvmtiMethodBind()
372 static std::string GetName(jvmtiEnv* jvmtienv, JNIEnv* jnienv, jobject obj) { in GetName() argument
375 if (jvmtienv->GetClassSignature(klass, &cname, &cgen) != JVMTI_ERROR_NONE) { in GetName()
393 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(cname)); in GetName()
394 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(cgen)); in GetName()
435 void JNICALL FieldAccessHook(jvmtiEnv* jvmtienv, in FieldAccessHook() argument
443 ScopedThreadInfo info(jvmtienv, env, thread); in FieldAccessHook()
444 ScopedMethodInfo method_info(jvmtienv, env, m); in FieldAccessHook()
445 ScopedFieldInfo field_info(jvmtienv, field_klass, field); in FieldAccessHook()
447 ScopedClassInfo obj_class_info(jvmtienv, oklass); in FieldAccessHook()
459 static std::string PrintJValue(jvmtiEnv* jvmtienv, JNIEnv* env, char type, jvalue new_value) { in PrintJValue() argument
468 ScopedClassInfo nv_class_info(jvmtienv, nv_klass); in PrintJValue()
503 void JNICALL FieldModificationHook(jvmtiEnv* jvmtienv, in FieldModificationHook() argument
513 ScopedThreadInfo info(jvmtienv, env, thread); in FieldModificationHook()
514 ScopedMethodInfo method_info(jvmtienv, env, m); in FieldModificationHook()
515 ScopedFieldInfo field_info(jvmtienv, field_klass, field); in FieldModificationHook()
517 ScopedClassInfo obj_class_info(jvmtienv, oklass); in FieldModificationHook()
525 << PrintJValue(jvmtienv, env, type, new_value) << ". Thread is \"" in FieldModificationHook()
529 void JNICALL MethodExitHook(jvmtiEnv* jvmtienv, in MethodExitHook() argument
535 ScopedThreadInfo info(jvmtienv, env, thread); in MethodExitHook()
536 ScopedMethodInfo method_info(jvmtienv, env, m); in MethodExitHook()
543 std::string out_val(was_popped_by_exception ? "" : GetValOf(jvmtienv, env, type, val)); in MethodExitHook()
550 void JNICALL MethodEntryHook(jvmtiEnv* jvmtienv, in MethodEntryHook() argument
554 ScopedThreadInfo info(jvmtienv, env, thread); in MethodEntryHook()
555 ScopedMethodInfo method_info(jvmtienv, env, m); in MethodEntryHook()
563 void JNICALL ClassPrepareHook(jvmtiEnv* jvmtienv, in ClassPrepareHook() argument
568 CHECK_EQ(jvmtienv->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&data)), in ClassPrepareHook()
573 if (jvmtienv->GetClassFields(klass, &nfields, &fields) != JVMTI_ERROR_NONE) { in ClassPrepareHook()
580 jvmtienv->SetFieldAccessWatch(klass, f); in ClassPrepareHook()
581 jvmtienv->SetFieldModificationWatch(klass, f); in ClassPrepareHook()
583 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(fields)); in ClassPrepareHook()
586 ScopedThreadInfo info(jvmtienv, env, thread); in ClassPrepareHook()
587 ScopedClassInfo class_info(jvmtienv, klass); in ClassPrepareHook()
597 void JNICALL SingleStepHook(jvmtiEnv* jvmtienv, in SingleStepHook() argument
602 ScopedThreadInfo info(jvmtienv, env, thread); in SingleStepHook()
603 ScopedMethodInfo method_info(jvmtienv, env, method); in SingleStepHook()