< prev index next >

src/hotspot/share/include/jvm.h

Print this page

1137  * Virtual thread support.
1138  */
1139 JNIEXPORT void JNICALL
1140 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1141 
1142 JNIEXPORT void JNICALL
1143 JVM_VirtualThreadEnd(JNIEnv* env, jobject vthread);
1144 
1145 JNIEXPORT void JNICALL
1146 JVM_VirtualThreadMount(JNIEnv* env, jobject vthread, jboolean hide);
1147 
1148 JNIEXPORT void JNICALL
1149 JVM_VirtualThreadUnmount(JNIEnv* env, jobject vthread, jboolean hide);
1150 
1151 JNIEXPORT void JNICALL
1152 JVM_VirtualThreadHideFrames(JNIEnv* env, jclass clazz, jboolean hide);
1153 
1154 JNIEXPORT void JNICALL
1155 JVM_VirtualThreadDisableSuspend(JNIEnv* env, jclass clazz, jboolean enter);
1156 









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

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