< prev index next >

src/hotspot/share/include/jvm.h

Print this page

 272 JVM_StartThread(JNIEnv *env, jobject thread);
 273 
 274 JNIEXPORT void JNICALL
 275 JVM_SetThreadPriority(JNIEnv *env, jobject thread, jint prio);
 276 
 277 JNIEXPORT void JNICALL
 278 JVM_Yield(JNIEnv *env, jclass threadClass);
 279 
 280 JNIEXPORT void JNICALL
 281 JVM_SleepNanos(JNIEnv *env, jclass threadClass, jlong nanos);
 282 
 283 JNIEXPORT jobject JNICALL
 284 JVM_CurrentCarrierThread(JNIEnv *env, jclass threadClass);
 285 
 286 JNIEXPORT jobject JNICALL
 287 JVM_CurrentThread(JNIEnv *env, jclass threadClass);
 288 
 289 JNIEXPORT void JNICALL
 290 JVM_SetCurrentThread(JNIEnv *env, jobject thisThread, jobject theThread);
 291 



 292 JNIEXPORT void JNICALL
 293 JVM_Interrupt(JNIEnv *env, jobject thread);
 294 
 295 JNIEXPORT jboolean JNICALL
 296 JVM_HoldsLock(JNIEnv *env, jclass threadClass, jobject obj);
 297 
 298 JNIEXPORT jobject JNICALL
 299 JVM_GetStackTrace(JNIEnv *env, jobject thread);
 300 
 301 JNIEXPORT jobjectArray JNICALL
 302 JVM_GetAllThreads(JNIEnv *env, jclass dummy);
 303 
 304 JNIEXPORT void JNICALL
 305 JVM_SetNativeThreadName(JNIEnv *env, jobject jthread, jstring name);
 306 
 307 /* getStackTrace() and getAllStackTraces() method */
 308 JNIEXPORT jobjectArray JNICALL
 309 JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads);
 310 
 311 JNIEXPORT jobject JNICALL

1131  * Virtual thread support.
1132  */
1133 JNIEXPORT void JNICALL
1134 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1135 
1136 JNIEXPORT void JNICALL
1137 JVM_VirtualThreadEnd(JNIEnv* env, jobject vthread);
1138 
1139 JNIEXPORT void JNICALL
1140 JVM_VirtualThreadMount(JNIEnv* env, jobject vthread, jboolean hide);
1141 
1142 JNIEXPORT void JNICALL
1143 JVM_VirtualThreadUnmount(JNIEnv* env, jobject vthread, jboolean hide);
1144 
1145 JNIEXPORT void JNICALL
1146 JVM_VirtualThreadHideFrames(JNIEnv* env, jclass clazz, jboolean hide);
1147 
1148 JNIEXPORT void JNICALL
1149 JVM_VirtualThreadDisableSuspend(JNIEnv* env, jclass clazz, jboolean enter);
1150 






1151 /*
1152  * Core reflection support.
1153  */
1154 JNIEXPORT jint JNICALL
1155 JVM_GetClassFileVersion(JNIEnv *env, jclass current);
1156 
1157 /*
1158  * Return JNI_TRUE if warnings are printed when agents are dynamically loaded.
1159  */
1160 JNIEXPORT jboolean JNICALL
1161 JVM_PrintWarningAtDynamicAgentLoad(void);
1162 
1163 /*
1164  * This structure is used by the launcher to get the default thread
1165  * stack size from the VM using JNI_GetDefaultJavaVMInitArgs() with a
1166  * version of 1.1.  As it is not supported otherwise, it has been removed
1167  * from jni.h
1168  */
1169 typedef struct JDK1_1InitArgs {
1170     jint version;

 272 JVM_StartThread(JNIEnv *env, jobject thread);
 273 
 274 JNIEXPORT void JNICALL
 275 JVM_SetThreadPriority(JNIEnv *env, jobject thread, jint prio);
 276 
 277 JNIEXPORT void JNICALL
 278 JVM_Yield(JNIEnv *env, jclass threadClass);
 279 
 280 JNIEXPORT void JNICALL
 281 JVM_SleepNanos(JNIEnv *env, jclass threadClass, jlong nanos);
 282 
 283 JNIEXPORT jobject JNICALL
 284 JVM_CurrentCarrierThread(JNIEnv *env, jclass threadClass);
 285 
 286 JNIEXPORT jobject JNICALL
 287 JVM_CurrentThread(JNIEnv *env, jclass threadClass);
 288 
 289 JNIEXPORT void JNICALL
 290 JVM_SetCurrentThread(JNIEnv *env, jobject thisThread, jobject theThread);
 291 
 292 JNIEXPORT void JNICALL
 293 JVM_SetCurrentLockId(JNIEnv* env, jclass threadClass, jlong tid);
 294 
 295 JNIEXPORT void JNICALL
 296 JVM_Interrupt(JNIEnv *env, jobject thread);
 297 
 298 JNIEXPORT jboolean JNICALL
 299 JVM_HoldsLock(JNIEnv *env, jclass threadClass, jobject obj);
 300 
 301 JNIEXPORT jobject JNICALL
 302 JVM_GetStackTrace(JNIEnv *env, jobject thread);
 303 
 304 JNIEXPORT jobjectArray JNICALL
 305 JVM_GetAllThreads(JNIEnv *env, jclass dummy);
 306 
 307 JNIEXPORT void JNICALL
 308 JVM_SetNativeThreadName(JNIEnv *env, jobject jthread, jstring name);
 309 
 310 /* getStackTrace() and getAllStackTraces() method */
 311 JNIEXPORT jobjectArray JNICALL
 312 JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads);
 313 
 314 JNIEXPORT jobject JNICALL

1134  * Virtual thread support.
1135  */
1136 JNIEXPORT void JNICALL
1137 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1138 
1139 JNIEXPORT void JNICALL
1140 JVM_VirtualThreadEnd(JNIEnv* env, jobject vthread);
1141 
1142 JNIEXPORT void JNICALL
1143 JVM_VirtualThreadMount(JNIEnv* env, jobject vthread, jboolean hide);
1144 
1145 JNIEXPORT void JNICALL
1146 JVM_VirtualThreadUnmount(JNIEnv* env, jobject vthread, jboolean hide);
1147 
1148 JNIEXPORT void JNICALL
1149 JVM_VirtualThreadHideFrames(JNIEnv* env, jclass clazz, jboolean hide);
1150 
1151 JNIEXPORT void JNICALL
1152 JVM_VirtualThreadDisableSuspend(JNIEnv* env, jclass clazz, jboolean enter);
1153 
1154 JNIEXPORT void JNICALL
1155 JVM_VirtualThreadPinnedEvent(jint reasonCode, jstring reasonString);
1156 
1157 JNIEXPORT jobject JNICALL
1158 JVM_TakeVirtualThreadListToUnblock(JNIEnv* env, jclass ignored);
1159 
1160 /*
1161  * Core reflection support.
1162  */
1163 JNIEXPORT jint JNICALL
1164 JVM_GetClassFileVersion(JNIEnv *env, jclass current);
1165 
1166 /*
1167  * Return JNI_TRUE if warnings are printed when agents are dynamically loaded.
1168  */
1169 JNIEXPORT jboolean JNICALL
1170 JVM_PrintWarningAtDynamicAgentLoad(void);
1171 
1172 /*
1173  * This structure is used by the launcher to get the default thread
1174  * stack size from the VM using JNI_GetDefaultJavaVMInitArgs() with a
1175  * version of 1.1.  As it is not supported otherwise, it has been removed
1176  * from jni.h
1177  */
1178 typedef struct JDK1_1InitArgs {
1179     jint version;
< prev index next >