< prev index next >

hotspot/src/share/vm/prims/jvm.h

Print this page




 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 enum {
 207   JVM_STACKWALK_FILL_CLASS_REFS_ONLY       = 0x2,
 208   JVM_STACKWALK_FILTER_FILL_IN_STACK_TRACE = 0x10,
 209   JVM_STACKWALK_SHOW_HIDDEN_FRAMES         = 0x20,
 210   JVM_STACKWALK_FILL_LIVE_STACK_FRAMES     = 0x100
 211 };
 212 
 213 JNIEXPORT jobject JNICALL
 214 JVM_CallStackWalk(JNIEnv *env, jobject stackStream, jlong mode,
 215                   jint skip_frames, jint frame_count, jint start_index,
 216                   jobjectArray classes,
 217                   jobjectArray frames);
 218 
 219 JNIEXPORT jint JNICALL
 220 JVM_MoreStackWalk(JNIEnv *env, jobject stackStream, jlong mode, jlong anchor,
 221                   jint frame_count, jint start_index,
 222                   jobjectArray classes,
 223                   jobjectArray frames);
 224 
 225 JNIEXPORT void JNICALL
 226 JVM_FillStackFrames(JNIEnv* env, jclass cls,
 227                     jint start_index,
 228                     jobjectArray frames,
 229                     jint from_index, jint toIndex);
 230 
 231 JNIEXPORT void JNICALL
 232 JVM_SetMethodInfo(JNIEnv* env, jobject frame);
 233 
 234 /*
 235  * java.lang.Thread
 236  */
 237 JNIEXPORT void JNICALL
 238 JVM_StartThread(JNIEnv *env, jobject thread);
 239 
 240 JNIEXPORT void JNICALL
 241 JVM_StopThread(JNIEnv *env, jobject thread, jobject exception);
 242 
 243 JNIEXPORT jboolean JNICALL
 244 JVM_IsThreadAlive(JNIEnv *env, jobject thread);
 245 
 246 JNIEXPORT void JNICALL
 247 JVM_SuspendThread(JNIEnv *env, jobject thread);
 248 
 249 JNIEXPORT void JNICALL
 250 JVM_ResumeThread(JNIEnv *env, jobject thread);
 251 
 252 JNIEXPORT void JNICALL
 253 JVM_SetThreadPriority(JNIEnv *env, jobject thread, jint prio);
 254 


< prev index next >