Home
last modified time | relevance | path

Searched refs:CheckJvmtiError (Results 1 – 7 of 7) sorted by relevance

/art/test/1919-vminit-thread-start-timing/
Dvminit.cc60 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()
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()
102 CheckJvmtiError(jvmti, jvmti->RunAgentThread(thread.get(), in CreateAgentThread()
110 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in VMInitCallback()
[all …]
/art/test/ti-agent/
Djni_binder.cc86 CheckJvmtiError(jvmti_env, name_result); in BindMethod()
94 CheckJvmtiError(jvmti_env, klass_result); in BindMethod()
99 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, name_cstr)); in BindMethod()
100 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, sig_cstr)); in BindMethod()
101 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, klass_name)); in BindMethod()
199 CheckJvmtiError(jvmti_env, jvmti_env->GetAllThreads(&thread_count, &threads)); in GetClass()
207 CheckJvmtiError(jvmti_env, jvmti_env->GetThreadInfo(threads[t], &info)); in GetClass()
208 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, info.name)); in GetClass()
236 CheckJvmtiError(jvmti_env, methods_result); in BindFunctionsOnClass()
242 CheckJvmtiError(jvmti_env, mod_result); in BindFunctionsOnClass()
[all …]
Djvmti_helper.cc33 void CheckJvmtiError(jvmtiEnv* env, jvmtiError error) { in CheckJvmtiError() function
101 CheckJvmtiError(env, env->AddCapabilities(&caps)); in SetStandardCapabilities()
106 CheckJvmtiError(env, env->GetPotentialCapabilities(&caps)); in SetAllCapabilities()
107 CheckJvmtiError(env, env->AddCapabilities(&caps)); in SetAllCapabilities()
122 CheckJvmtiError(jvmtienv, jvmtienv->GetErrorName(error, &err)); in JvmtiErrorToException()
Djvmti_helper.h42 void CheckJvmtiError(jvmtiEnv* env, jvmtiError error);
60 CheckJvmtiError(env_, ret); in operator()
/art/test/931-agent-thread/
Dagent_thread.cc53 CheckJvmtiError(jenv, this_thread_result); in AgentMain()
59 CheckJvmtiError(jenv, info_result); in AgentMain()
61 CheckJvmtiError(jenv, jenv->Deallocate(reinterpret_cast<unsigned char*>(info.name))); in AgentMain()
77 CheckJvmtiError(jenv, threads_result); in AgentMain()
116 CheckJvmtiError(jvmti_env, in Java_art_Test931_testAgentThread()
/art/test/912-classes/
Dclasses_art.cc120 CheckJvmtiError(jvmti_env, jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig))); in Java_art_Test912Art_isLoadedClass()
123 CheckJvmtiError(jvmti_env, jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(classes))); in Java_art_Test912Art_isLoadedClass()
Dclasses.cc407 CheckJvmtiError(jvmti, jvmti->RunAgentThread(thread.get(), in RunEventThread()