Lines Matching refs:jvmti
58 static void JNICALL ThreadStartCallback(jvmtiEnv *jvmti, JNIEnv* env, jthread thread) { in ThreadStartCallback() argument
60 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in ThreadStartCallback()
61 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); in ThreadStartCallback()
63 CheckJvmtiError(jvmti, jvmti->RawMonitorExit(list->events_mutex)); in ThreadStartCallback()
66 static void JNICALL Test1919AgentThread(jvmtiEnv* jvmti, in Test1919AgentThread() argument
70 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in Test1919AgentThread()
71 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); in Test1919AgentThread()
73 CheckJvmtiError(jvmti, jvmti->GetCurrentThread(&cur)); in Test1919AgentThread()
77 CheckJvmtiError(jvmti, jvmti->RawMonitorNotify(list->events_mutex)); in Test1919AgentThread()
78 CheckJvmtiError(jvmti, jvmti->RawMonitorExit(list->events_mutex)); in Test1919AgentThread()
81 static void CreateAgentThread(jvmtiEnv* jvmti, JNIEnv* env) { in CreateAgentThread() argument
102 CheckJvmtiError(jvmti, jvmti->RunAgentThread(thread.get(), in CreateAgentThread()
108 static void JNICALL VMInitCallback(jvmtiEnv *jvmti, JNIEnv* env, jthread thread) { in VMInitCallback() argument
110 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in VMInitCallback()
111 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); in VMInitCallback()
114 CreateAgentThread(jvmti, env); in VMInitCallback()
116 CheckJvmtiError(jvmti, jvmti->RawMonitorWait(list->events_mutex, 0)); in VMInitCallback()
117 CheckJvmtiError(jvmti, jvmti->RawMonitorExit(list->events_mutex)); in VMInitCallback()