/art/test/1900-track-alloc/ |
D | alloc.cc | 72 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/ |
D | dispose_stress.cc | 47 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/ |
D | agent_tls.cc | 61 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/ |
D | descriptors.cc | 59 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/ |
D | frame_pop_helper.cc | 80 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()
|
D | jvmti_helper.cc | 115 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in JvmtiErrorToException() local 116 if (rt_exception.get() == nullptr) { in JvmtiErrorToException() 124 env->ThrowNew(rt_exception.get(), err); in JvmtiErrorToException()
|
D | exceptions_helper.cc | 142 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()
|
D | breakpoint_helper.cc | 168 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()
|
D | monitors_helper.cc | 177 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()
|
D | trace_helper.cc | 508 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/984-obsolete-invoke/ |
D | obsolete_invoke.cc | 64 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/ |
D | obsolete_breakpoints.cc | 62 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/1940-ddms-ext/ |
D | ddm_ext.cc | 173 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1940_initializeTest() local 174 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Test1940_initializeTest() 207 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1940_initializeTest() local 208 env->ThrowNew(rt_exception.get(), "Unable to find memory tracking extensions."); in Java_art_Test1940_initializeTest() 234 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1940_initializeTest() local 235 env->ThrowNew(rt_exception.get(), "Unable to find ddms extension event."); in Java_art_Test1940_initializeTest()
|
/art/test/1957-error-ext/ |
D | lasterror.cc | 79 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()
|
/art/test/1974-resize-array/ |
D | resize_array.cc | 79 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in FindExtensionEvent() local 80 env->ThrowNew(rt_exception.get(), (name + " extensions not found").c_str()); in FindExtensionEvent() 105 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in FindExtensionMethod() local 106 env->ThrowNew(rt_exception.get(), (name + " extensions not found").c_str()); in FindExtensionMethod()
|