Lines Matching refs:list
59 EventList* list = nullptr; in ThreadStartCallback() local
60 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in ThreadStartCallback()
61 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); in ThreadStartCallback()
62 list->events.push_back({ "ThreadStart", env->NewGlobalRef(thread) }); in ThreadStartCallback()
63 CheckJvmtiError(jvmti, jvmti->RawMonitorExit(list->events_mutex)); in ThreadStartCallback()
69 EventList* list = nullptr; in Test1919AgentThread() local
70 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in Test1919AgentThread()
71 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); in Test1919AgentThread()
74 list->events.push_back({ "Test1919AgentThread", env->NewGlobalRef(cur) }); in Test1919AgentThread()
77 CheckJvmtiError(jvmti, jvmti->RawMonitorNotify(list->events_mutex)); in Test1919AgentThread()
78 CheckJvmtiError(jvmti, jvmti->RawMonitorExit(list->events_mutex)); in Test1919AgentThread()
109 EventList* list = nullptr; in VMInitCallback() local
110 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in VMInitCallback()
111 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex)); in VMInitCallback()
112 list->events.push_back({ "VMInit", env->NewGlobalRef(thread) }); in VMInitCallback()
116 CheckJvmtiError(jvmti, jvmti->RawMonitorWait(list->events_mutex, 0)); in VMInitCallback()
117 CheckJvmtiError(jvmti, jvmti->RawMonitorExit(list->events_mutex)); in VMInitCallback()
135 EventList* list = nullptr; in InstallEventList() local
136 CheckJvmtiError(env, env->Allocate(sizeof(EventList), reinterpret_cast<unsigned char**>(&list))); in InstallEventList()
137 memset(list, 0, sizeof(EventList)); in InstallEventList()
138 CheckJvmtiError(env, env->CreateRawMonitor("Test1919 Monitor", &list->events_mutex)); in InstallEventList()
139 CheckJvmtiError(env, env->SetEnvironmentLocalStorage(list)); in InstallEventList()
155 EventList* list = nullptr; in Java_art_Test1919_getEventNames() local
159 reinterpret_cast<void**>(&list)))) { in Java_art_Test1919_getEventNames()
162 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->RawMonitorEnter(list->events_mutex))) { in Java_art_Test1919_getEventNames()
165 jobjectArray ret = CreateObjectArray(env, list->events.size(), "java/lang/String", in Java_art_Test1919_getEventNames()
167 return env->NewStringUTF(list->events[i].event.c_str()); in Java_art_Test1919_getEventNames()
169 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->RawMonitorExit(list->events_mutex))) { in Java_art_Test1919_getEventNames()
176 EventList* list = nullptr; in Java_art_Test1919_getEventThreads() local
180 reinterpret_cast<void**>(&list)))) { in Java_art_Test1919_getEventThreads()
183 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->RawMonitorEnter(list->events_mutex))) { in Java_art_Test1919_getEventThreads()
186 jobjectArray ret = CreateObjectArray(env, list->events.size(), "java/lang/Thread", in Java_art_Test1919_getEventThreads()
188 return env->NewLocalRef(list->events[i].data); in Java_art_Test1919_getEventThreads()
190 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->RawMonitorExit(list->events_mutex))) { in Java_art_Test1919_getEventThreads()