< prev index next >

src/hotspot/share/include/jvm.h

Print this page

1140  * Virtual thread support.
1141  */
1142 JNIEXPORT void JNICALL
1143 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1144 
1145 JNIEXPORT void JNICALL
1146 JVM_VirtualThreadEnd(JNIEnv* env, jobject vthread);
1147 
1148 JNIEXPORT void JNICALL
1149 JVM_VirtualThreadMount(JNIEnv* env, jobject vthread, jboolean hide);
1150 
1151 JNIEXPORT void JNICALL
1152 JVM_VirtualThreadUnmount(JNIEnv* env, jobject vthread, jboolean hide);
1153 
1154 JNIEXPORT void JNICALL
1155 JVM_VirtualThreadHideFrames(JNIEnv* env, jclass clazz, jboolean hide);
1156 
1157 JNIEXPORT void JNICALL
1158 JVM_VirtualThreadDisableSuspend(JNIEnv* env, jclass clazz, jboolean enter);
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;

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