Home
last modified time | relevance | path

Searched refs:rt_exception (Results 1 – 14 of 14) sorted by relevance

/art/test/1900-track-alloc/
Dalloc.cc72 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_getAmountAllocated() local
73 env->ThrowNew(rt_exception.get(), "Alloc tracking data not initialized."); in Java_art_Test1900_getAmountAllocated()
102 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_newJvmtiEnv() local
103 env->ThrowNew(rt_exception.get(), "Unable to get JavaVM"); in Java_art_Test1900_newJvmtiEnv()
108 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_newJvmtiEnv() local
109 env->ThrowNew(rt_exception.get(), "Unable to create new jvmtiEnv"); in Java_art_Test1900_newJvmtiEnv()
120 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_initializeTest() local
121 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Test1900_initializeTest()
150 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_initializeTest() local
151 env->ThrowNew(rt_exception.get(), "Unable to find memory tracking extensions."); in Java_art_Test1900_initializeTest()
/art/test/1941-dispose-stress/
Ddispose_stress.cc47 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1941_AllocEnv() local
48 env->ThrowNew(rt_exception.get(), "Unable to get JavaVM"); in Java_art_Test1941_AllocEnv()
53 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1941_AllocEnv() local
54 env->ThrowNew(rt_exception.get(), "Unable to create new jvmtiEnv"); in Java_art_Test1941_AllocEnv()
/art/test/1909-per-agent-tls/
Dagent_tls.cc61 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1909_newJvmtiEnv() local
62 env->ThrowNew(rt_exception.get(), "Unable to get JavaVM"); in Java_art_Test1909_newJvmtiEnv()
67 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1909_newJvmtiEnv() local
68 env->ThrowNew(rt_exception.get(), "Unable to create new jvmtiEnv"); in Java_art_Test1909_newJvmtiEnv()
/art/test/1946-list-descriptors/
Ddescriptors.cc59 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1946_getClassloaderDescriptors() local
60 env->ThrowNew(rt_exception.get(), "Alloc tracking data not initialized."); in Java_art_Test1946_getClassloaderDescriptors()
101 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1946_initializeTest() local
102 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Test1946_initializeTest()
131 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1946_initializeTest() local
132 env->ThrowNew(rt_exception.get(), "Unable to find memory tracking extensions."); in Java_art_Test1946_initializeTest()
/art/test/ti-agent/
Dframe_pop_helper.cc80 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_FramePop_enableFramePopEvent() local
81 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_FramePop_enableFramePopEvent()
112 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_FramePop_makeJvmtiEnvForFramePop() local
113 if (rt_exception.get() == nullptr) { in Java_art_FramePop_makeJvmtiEnvForFramePop()
117 env->ThrowNew(rt_exception.get(), "Unable to create new jvmti_env"); in Java_art_FramePop_makeJvmtiEnvForFramePop()
Djvmti_helper.cc114 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in JvmtiErrorToException() local
115 if (rt_exception.get() == nullptr) { in JvmtiErrorToException()
123 env->ThrowNew(rt_exception.get(), err); in JvmtiErrorToException()
Dexceptions_helper.cc142 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Exceptions_setupExceptionTracing() local
143 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Exceptions_setupExceptionTracing()
Dbreakpoint_helper.cc168 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Breakpoint_startBreakpointWatch() local
169 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Breakpoint_startBreakpointWatch()
Dmonitors_helper.cc177 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Monitors_setupMonitorEvents() local
178 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Monitors_setupMonitorEvents()
Dtrace_helper.cc508 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Trace_enableTracing2() local
509 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Trace_enableTracing2()
/art/test/1940-ddms-ext/
Dddm_ext.cc133 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1940_initializeTest() local
134 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Test1940_initializeTest()
168 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1940_initializeTest() local
169 env->ThrowNew(rt_exception.get(), "Unable to find memory tracking extensions."); in Java_art_Test1940_initializeTest()
195 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1940_initializeTest() local
196 env->ThrowNew(rt_exception.get(), "Unable to find ddms extension event."); in Java_art_Test1940_initializeTest()
/art/test/984-obsolete-invoke/
Dobsolete_invoke.cc64 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test984_getFirstObsoleteMethod984() local
65 env->ThrowNew(rt_exception.get(), "Unable to find obsolete method!"); in Java_art_Test984_getFirstObsoleteMethod984()
/art/test/996-breakpoint-obsolete/
Dobsolete_breakpoints.cc62 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in GetFirstObsoleteMethod() local
63 env->ThrowNew(rt_exception.get(), "Unable to find obsolete method!"); in GetFirstObsoleteMethod()
/art/test/1957-error-ext/
Dlasterror.cc79 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in FindExtensionMethod() local
80 env->ThrowNew(rt_exception.get(), (name + " extensions not found").c_str()); in FindExtensionMethod()