258 259 JNIEXPORT jint JNICALL 260 JVM_CountStackFrames(JNIEnv *env, jobject thread); 261 262 JNIEXPORT void JNICALL 263 JVM_Interrupt(JNIEnv *env, jobject thread); 264 265 JNIEXPORT jboolean JNICALL 266 JVM_IsInterrupted(JNIEnv *env, jobject thread, jboolean clearInterrupted); 267 268 JNIEXPORT jboolean JNICALL 269 JVM_HoldsLock(JNIEnv *env, jclass threadClass, jobject obj); 270 271 JNIEXPORT void JNICALL 272 JVM_DumpAllStacks(JNIEnv *env, jclass unused); 273 274 JNIEXPORT jobjectArray JNICALL 275 JVM_GetAllThreads(JNIEnv *env, jclass dummy); 276 277 JNIEXPORT void JNICALL 278 JVM_SetNativeThreadName(JNIEnv *env, jobject jthread, jstring name); 279 280 /* getStackTrace() and getAllStackTraces() method */ 281 JNIEXPORT jobjectArray JNICALL 282 JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads); 283 284 /* 285 * java.lang.SecurityManager 286 */ 287 JNIEXPORT jclass JNICALL 288 JVM_CurrentLoadedClass(JNIEnv *env); 289 290 JNIEXPORT jobject JNICALL 291 JVM_CurrentClassLoader(JNIEnv *env); 292 293 JNIEXPORT jobjectArray JNICALL 294 JVM_GetClassContext(JNIEnv *env); 295 296 JNIEXPORT jint JNICALL 297 JVM_ClassDepth(JNIEnv *env, jstring name); | 258 259 JNIEXPORT jint JNICALL 260 JVM_CountStackFrames(JNIEnv *env, jobject thread); 261 262 JNIEXPORT void JNICALL 263 JVM_Interrupt(JNIEnv *env, jobject thread); 264 265 JNIEXPORT jboolean JNICALL 266 JVM_IsInterrupted(JNIEnv *env, jobject thread, jboolean clearInterrupted); 267 268 JNIEXPORT jboolean JNICALL 269 JVM_HoldsLock(JNIEnv *env, jclass threadClass, jobject obj); 270 271 JNIEXPORT void JNICALL 272 JVM_DumpAllStacks(JNIEnv *env, jclass unused); 273 274 JNIEXPORT jobjectArray JNICALL 275 JVM_GetAllThreads(JNIEnv *env, jclass dummy); 276 277 JNIEXPORT void JNICALL 278 JVM_SetNativeThreadName0(const char *name); 279 280 JNIEXPORT void JNICALL 281 JVM_SetNativeThreadName(JNIEnv *env, jobject jthread, jstring name); 282 283 /* getStackTrace() and getAllStackTraces() method */ 284 JNIEXPORT jobjectArray JNICALL 285 JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads); 286 287 /* 288 * java.lang.SecurityManager 289 */ 290 JNIEXPORT jclass JNICALL 291 JVM_CurrentLoadedClass(JNIEnv *env); 292 293 JNIEXPORT jobject JNICALL 294 JVM_CurrentClassLoader(JNIEnv *env); 295 296 JNIEXPORT jobjectArray JNICALL 297 JVM_GetClassContext(JNIEnv *env); 298 299 JNIEXPORT jint JNICALL 300 JVM_ClassDepth(JNIEnv *env, jstring name); |