• Home
  • Raw
  • Download

Lines Matching refs:jvmti

613 void JNICALL ClassFileLoadHookSecretNoOp(jvmtiEnv* jvmti,  in ClassFileLoadHookSecretNoOp()  argument
629 CHECK_EQ(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&data)), in ClassFileLoadHookSecretNoOp()
635 } else if (DoExtractClassFromData(jvmti, name_str, class_data_len, class_data, in ClassFileLoadHookSecretNoOp()
707 static bool WatchAllFields(JavaVM* vm, jvmtiEnv* jvmti) { in WatchAllFields() argument
708 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in WatchAllFields()
717 if (jvmti->GetLoadedClasses(&nklass, &klasses) != JVMTI_ERROR_NONE) { in WatchAllFields()
728 ScopedClassInfo sci(jvmti, k); in WatchAllFields()
734 jvmtiError err = jvmti->GetClassFields(k, &nfields, &fields); in WatchAllFields()
738 if (jvmti->SetFieldModificationWatch(k, f) != JVMTI_ERROR_NONE || in WatchAllFields()
739 jvmti->SetFieldAccessWatch(k, f) != JVMTI_ERROR_NONE) { in WatchAllFields()
748 jvmti->Deallocate(reinterpret_cast<unsigned char*>(fields)); in WatchAllFields()
751 jvmti->Deallocate(reinterpret_cast<unsigned char*>(klasses)); in WatchAllFields()
758 jvmtiEnv* jvmti = nullptr; in Agent_OnLoad() local
759 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_0)) { in Agent_OnLoad()
764 if (JVMTI_ERROR_NONE != jvmti->Allocate(sizeof(StressData), in Agent_OnLoad()
773 if (JVMTI_ERROR_NONE != jvmti->SetEnvironmentLocalStorage(data)) { in Agent_OnLoad()
822 jvmti->AddCapabilities(&caps); in Agent_OnLoad()
836 if (jvmti->SetEventCallbacks(&cb, sizeof(cb)) != JVMTI_ERROR_NONE) { in Agent_OnLoad()
840 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in Agent_OnLoad()
847 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in Agent_OnLoad()
855 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in Agent_OnLoad()
861 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in Agent_OnLoad()
867 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in Agent_OnLoad()
873 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in Agent_OnLoad()
881 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in Agent_OnLoad()
887 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in Agent_OnLoad()
893 if (!WatchAllFields(vm, jvmti)) { in Agent_OnLoad()
898 if (jvmti->SetEventNotificationMode(JVMTI_ENABLE, in Agent_OnLoad()