184 185 JNIEXPORT void * JNICALL 186 JVM_FindLibraryEntry(void *handle, const char *name); 187 188 JNIEXPORT jboolean JNICALL 189 JVM_IsSupportedJNIVersion(jint version); 190 191 /* 192 * java.lang.Throwable 193 */ 194 JNIEXPORT void JNICALL 195 JVM_FillInStackTrace(JNIEnv *env, jobject throwable); 196 197 JNIEXPORT jint JNICALL 198 JVM_GetStackTraceDepth(JNIEnv *env, jobject throwable); 199 200 JNIEXPORT jobject JNICALL 201 JVM_GetStackTraceElement(JNIEnv *env, jobject throwable, jint index); 202 203 /* 204 * java.lang.Thread 205 */ 206 JNIEXPORT void JNICALL 207 JVM_StartThread(JNIEnv *env, jobject thread); 208 209 JNIEXPORT void JNICALL 210 JVM_StopThread(JNIEnv *env, jobject thread, jobject exception); 211 212 JNIEXPORT jboolean JNICALL 213 JVM_IsThreadAlive(JNIEnv *env, jobject thread); 214 215 JNIEXPORT void JNICALL 216 JVM_SuspendThread(JNIEnv *env, jobject thread); 217 218 JNIEXPORT void JNICALL 219 JVM_ResumeThread(JNIEnv *env, jobject thread); 220 221 JNIEXPORT void JNICALL 222 JVM_SetThreadPriority(JNIEnv *env, jobject thread, jint prio); 223 | 184 185 JNIEXPORT void * JNICALL 186 JVM_FindLibraryEntry(void *handle, const char *name); 187 188 JNIEXPORT jboolean JNICALL 189 JVM_IsSupportedJNIVersion(jint version); 190 191 /* 192 * java.lang.Throwable 193 */ 194 JNIEXPORT void JNICALL 195 JVM_FillInStackTrace(JNIEnv *env, jobject throwable); 196 197 JNIEXPORT jint JNICALL 198 JVM_GetStackTraceDepth(JNIEnv *env, jobject throwable); 199 200 JNIEXPORT jobject JNICALL 201 JVM_GetStackTraceElement(JNIEnv *env, jobject throwable, jint index); 202 203 /* 204 * java.lang.StackWalker 205 */ 206 JNIEXPORT jobject JNICALL 207 JVM_CallStackWalk(JNIEnv *env, jobject stackStream, jlong mode, 208 jint skip_frames, jint frame_count, jint start_index, 209 jobjectArray classes, 210 jobjectArray frames); 211 212 JNIEXPORT jint JNICALL 213 JVM_MoreStackWalk(JNIEnv *env, jobject stackStream, jlong mode, jlong anchor, 214 jint frame_count, jint start_index, 215 jobjectArray classes, 216 jobjectArray frames); 217 218 JNIEXPORT void JNICALL 219 JVM_FillStackFrames(JNIEnv* env, jclass cls, 220 int start_index, 221 jobjectArray frames, 222 jint from_index, jint toIndex); 223 224 JNIEXPORT void JNICALL 225 JVM_SetMethodInfo(JNIEnv* env, jobject frame); 226 227 /* 228 * java.lang.Thread 229 */ 230 JNIEXPORT void JNICALL 231 JVM_StartThread(JNIEnv *env, jobject thread); 232 233 JNIEXPORT void JNICALL 234 JVM_StopThread(JNIEnv *env, jobject thread, jobject exception); 235 236 JNIEXPORT jboolean JNICALL 237 JVM_IsThreadAlive(JNIEnv *env, jobject thread); 238 239 JNIEXPORT void JNICALL 240 JVM_SuspendThread(JNIEnv *env, jobject thread); 241 242 JNIEXPORT void JNICALL 243 JVM_ResumeThread(JNIEnv *env, jobject thread); 244 245 JNIEXPORT void JNICALL 246 JVM_SetThreadPriority(JNIEnv *env, jobject thread, jint prio); 247 |