• Home
  • Raw
  • Download

Lines Matching refs:env

29     JNIEnv* env, jclass, jthread thr) {  in Java_art_Suspension_isSuspended()  argument
31 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetThreadState(thr, &state))) { in Java_art_Suspension_isSuspended()
37 static std::vector<jthread> CopyToVector(JNIEnv* env, jobjectArray thrs) { in CopyToVector() argument
38 jsize len = env->GetArrayLength(thrs); in CopyToVector()
42 ret.push_back(reinterpret_cast<jthread>(env->GetObjectArrayElement(thrs, i))); in CopyToVector()
47 extern "C" JNIEXPORT jintArray JNICALL Java_art_Suspension_resumeList(JNIEnv* env, in Java_art_Suspension_resumeList() argument
51 std::vector<jthread> threads(CopyToVector(env, thr)); in Java_art_Suspension_resumeList()
52 if (env->ExceptionCheck()) { in Java_art_Suspension_resumeList()
55 jintArray ret = env->NewIntArray(threads.size()); in Java_art_Suspension_resumeList()
56 if (env->ExceptionCheck()) { in Java_art_Suspension_resumeList()
59 jint* elems = env->GetIntArrayElements(ret, nullptr); in Java_art_Suspension_resumeList()
60 JvmtiErrorToException(env, jvmti_env, in Java_art_Suspension_resumeList()
64 env->ReleaseIntArrayElements(ret, elems, 0); in Java_art_Suspension_resumeList()
68 extern "C" JNIEXPORT jintArray JNICALL Java_art_Suspension_suspendList(JNIEnv* env, in Java_art_Suspension_suspendList() argument
72 std::vector<jthread> threads(CopyToVector(env, thrs)); in Java_art_Suspension_suspendList()
73 if (env->ExceptionCheck()) { in Java_art_Suspension_suspendList()
76 jintArray ret = env->NewIntArray(threads.size()); in Java_art_Suspension_suspendList()
77 if (env->ExceptionCheck()) { in Java_art_Suspension_suspendList()
80 jint* elems = env->GetIntArrayElements(ret, nullptr); in Java_art_Suspension_suspendList()
81 JvmtiErrorToException(env, jvmti_env, in Java_art_Suspension_suspendList()
85 env->ReleaseIntArrayElements(ret, elems, 0); in Java_art_Suspension_suspendList()
89 extern "C" JNIEXPORT void JNICALL Java_art_Suspension_resume(JNIEnv* env, jclass, jthread thr) { in Java_art_Suspension_resume() argument
90 JvmtiErrorToException(env, jvmti_env, jvmti_env->ResumeThread(thr)); in Java_art_Suspension_resume()
93 extern "C" JNIEXPORT void JNICALL Java_art_Suspension_suspend(JNIEnv* env, jclass, jthread thr) { in Java_art_Suspension_suspend() argument
94 JvmtiErrorToException(env, jvmti_env, jvmti_env->SuspendThread(thr)); in Java_art_Suspension_suspend()