< prev index next >

jdk/src/java.base/share/native/include/jvm.h

Print this page




 161 
 162 JNIEXPORT void * JNICALL
 163 JVM_FindLibraryEntry(void *handle, const char *name);
 164 
 165 JNIEXPORT jboolean JNICALL
 166 JVM_IsSupportedJNIVersion(jint version);
 167 
 168 /*
 169  * java.lang.Throwable
 170  */
 171 JNIEXPORT void JNICALL
 172 JVM_FillInStackTrace(JNIEnv *env, jobject throwable);
 173 
 174 JNIEXPORT jint JNICALL
 175 JVM_GetStackTraceDepth(JNIEnv *env, jobject throwable);
 176 
 177 JNIEXPORT jobject JNICALL
 178 JVM_GetStackTraceElement(JNIEnv *env, jobject throwable, jint index);
 179 
 180 /*































 181  * java.lang.Thread
 182  */
 183 JNIEXPORT void JNICALL
 184 JVM_StartThread(JNIEnv *env, jobject thread);
 185 
 186 JNIEXPORT void JNICALL
 187 JVM_StopThread(JNIEnv *env, jobject thread, jobject exception);
 188 
 189 JNIEXPORT jboolean JNICALL
 190 JVM_IsThreadAlive(JNIEnv *env, jobject thread);
 191 
 192 JNIEXPORT void JNICALL
 193 JVM_SuspendThread(JNIEnv *env, jobject thread);
 194 
 195 JNIEXPORT void JNICALL
 196 JVM_ResumeThread(JNIEnv *env, jobject thread);
 197 
 198 JNIEXPORT void JNICALL
 199 JVM_SetThreadPriority(JNIEnv *env, jobject thread, jint prio);
 200 




 161 
 162 JNIEXPORT void * JNICALL
 163 JVM_FindLibraryEntry(void *handle, const char *name);
 164 
 165 JNIEXPORT jboolean JNICALL
 166 JVM_IsSupportedJNIVersion(jint version);
 167 
 168 /*
 169  * java.lang.Throwable
 170  */
 171 JNIEXPORT void JNICALL
 172 JVM_FillInStackTrace(JNIEnv *env, jobject throwable);
 173 
 174 JNIEXPORT jint JNICALL
 175 JVM_GetStackTraceDepth(JNIEnv *env, jobject throwable);
 176 
 177 JNIEXPORT jobject JNICALL
 178 JVM_GetStackTraceElement(JNIEnv *env, jobject throwable, jint index);
 179 
 180 /*
 181  * java.lang.StackWalker
 182  */
 183 enum {
 184   JVM_STACKWALK_FILL_CLASS_REFS_ONLY       = 0x2,
 185   JVM_STACKWALK_FILTER_FILL_IN_STACK_TRACE = 0x10,
 186   JVM_STACKWALK_SHOW_HIDDEN_FRAMES         = 0x20,
 187   JVM_STACKWALK_FILL_LIVE_STACK_FRAMES     = 0x100
 188 };
 189 
 190 JNIEXPORT jobject JNICALL
 191 JVM_CallStackWalk(JNIEnv *env, jobject stackStream, jlong mode,
 192                   jint skip_frames, jint frame_count, jint start_index,
 193                   jobjectArray classes,
 194                   jobjectArray frames);
 195 
 196 JNIEXPORT jint JNICALL
 197 JVM_MoreStackWalk(JNIEnv *env, jobject stackStream, jlong mode, jlong anchor,
 198                   jint frame_count, jint start_index,
 199                   jobjectArray classes,
 200                   jobjectArray frames);
 201 
 202 JNIEXPORT void JNICALL
 203 JVM_FillStackFrames(JNIEnv* env, jclass cls,
 204                     jint start_index,
 205                     jobjectArray stackFrames,
 206                     jint from_index, jint toIndex);
 207 
 208 JNIEXPORT void JNICALL
 209 JVM_SetMethodInfo(JNIEnv* env, jobject frame);
 210 
 211 /*
 212  * java.lang.Thread
 213  */
 214 JNIEXPORT void JNICALL
 215 JVM_StartThread(JNIEnv *env, jobject thread);
 216 
 217 JNIEXPORT void JNICALL
 218 JVM_StopThread(JNIEnv *env, jobject thread, jobject exception);
 219 
 220 JNIEXPORT jboolean JNICALL
 221 JVM_IsThreadAlive(JNIEnv *env, jobject thread);
 222 
 223 JNIEXPORT void JNICALL
 224 JVM_SuspendThread(JNIEnv *env, jobject thread);
 225 
 226 JNIEXPORT void JNICALL
 227 JVM_ResumeThread(JNIEnv *env, jobject thread);
 228 
 229 JNIEXPORT void JNICALL
 230 JVM_SetThreadPriority(JNIEnv *env, jobject thread, jint prio);
 231 


< prev index next >