/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 | 114 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()
|
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/1940-ddms-ext/ |
D | ddm_ext.cc | 133 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/ |
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/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()
|