< prev index next >

src/hotspot/share/include/jvm.h

Print this page

 157 JVM_LoadZipLibrary();
 158 
 159 JNIEXPORT void * JNICALL
 160 JVM_LoadLibrary(const char *name, jboolean throwException);
 161 
 162 JNIEXPORT void JNICALL
 163 JVM_UnloadLibrary(void * handle);
 164 
 165 JNIEXPORT void * JNICALL
 166 JVM_FindLibraryEntry(void *handle, const char *name);
 167 
 168 JNIEXPORT jboolean JNICALL
 169 JVM_IsSupportedJNIVersion(jint version);
 170 
 171 JNIEXPORT jobjectArray JNICALL
 172 JVM_GetVmArguments(JNIEnv *env);
 173 
 174 JNIEXPORT jboolean JNICALL
 175 JVM_IsPreviewEnabled(void);
 176 



 177 JNIEXPORT jboolean JNICALL
 178 JVM_IsContinuationsSupported(void);
 179 
 180 JNIEXPORT jboolean JNICALL
 181 JVM_IsForeignLinkerSupported(void);
 182 
 183 JNIEXPORT jboolean JNICALL
 184 JVM_IsStaticallyLinked(void);
 185 
 186 JNIEXPORT void JNICALL
 187 JVM_InitializeFromArchive(JNIEnv* env, jclass cls);
 188 
 189 JNIEXPORT void JNICALL
 190 JVM_RegisterLambdaProxyClassForArchiving(JNIEnv* env, jclass caller,
 191                                          jstring interfaceMethodName,
 192                                          jobject factoryType,
 193                                          jobject interfaceMethodType,
 194                                          jobject implementationMember,
 195                                          jobject dynamicMethodType,
 196                                          jclass lambdaProxyClass);

 535  */
 536 JNIEXPORT void JNICALL
 537 JVM_DefineArchivedModules(JNIEnv *env, jobject platform_loader, jobject system_loader);
 538 
 539 /*
 540  * Reflection support functions
 541  */
 542 
 543 JNIEXPORT jstring JNICALL
 544 JVM_InitClassName(JNIEnv *env, jclass cls);
 545 
 546 JNIEXPORT jobjectArray JNICALL
 547 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
 548 
 549 JNIEXPORT jboolean JNICALL
 550 JVM_IsInterface(JNIEnv *env, jclass cls);
 551 
 552 JNIEXPORT jboolean JNICALL
 553 JVM_IsHiddenClass(JNIEnv *env, jclass cls);
 554 



 555 JNIEXPORT jobjectArray JNICALL
 556 JVM_GetDeclaredClasses(JNIEnv *env, jclass ofClass);
 557 
 558 JNIEXPORT jclass JNICALL
 559 JVM_GetDeclaringClass(JNIEnv *env, jclass ofClass);
 560 
 561 JNIEXPORT jstring JNICALL
 562 JVM_GetSimpleBinaryName(JNIEnv *env, jclass ofClass);
 563 
 564 /* Generics support (JDK 1.5) */
 565 JNIEXPORT jstring JNICALL
 566 JVM_GetClassSignature(JNIEnv *env, jclass cls);
 567 
 568 /* Annotations support (JDK 1.5) */
 569 JNIEXPORT jbyteArray JNICALL
 570 JVM_GetClassAnnotations(JNIEnv *env, jclass cls);
 571 
 572 /* Type use annotations support (JDK 1.8) */
 573 
 574 JNIEXPORT jbyteArray JNICALL

1071 JNIEXPORT void JNICALL
1072 JVM_RawMonitorExit(void *mon);
1073 
1074 /*
1075  * java.lang.management support
1076  */
1077 JNIEXPORT void* JNICALL
1078 JVM_GetManagement(jint version);
1079 
1080 /*
1081  * com.sun.tools.attach.VirtualMachine support
1082  *
1083  * Initialize the agent properties with the properties maintained in the VM.
1084  */
1085 JNIEXPORT jobject JNICALL
1086 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1087 
1088 JNIEXPORT jstring JNICALL
1089 JVM_GetTemporaryDirectory(JNIEnv *env);
1090 





















1091 /* Generics reflection support.
1092  *
1093  * Returns information about the given class's EnclosingMethod
1094  * attribute, if present, or null if the class had no enclosing
1095  * method.
1096  *
1097  * If non-null, the returned array contains three elements. Element 0
1098  * is the java.lang.Class of which the enclosing method is a member,
1099  * and elements 1 and 2 are the java.lang.Strings for the enclosing
1100  * method's name and descriptor, respectively.
1101  */
1102 JNIEXPORT jobjectArray JNICALL
1103 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1104 
1105 /*
1106  * Virtual thread support.
1107  */
1108 JNIEXPORT void JNICALL
1109 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1110 

 157 JVM_LoadZipLibrary();
 158 
 159 JNIEXPORT void * JNICALL
 160 JVM_LoadLibrary(const char *name, jboolean throwException);
 161 
 162 JNIEXPORT void JNICALL
 163 JVM_UnloadLibrary(void * handle);
 164 
 165 JNIEXPORT void * JNICALL
 166 JVM_FindLibraryEntry(void *handle, const char *name);
 167 
 168 JNIEXPORT jboolean JNICALL
 169 JVM_IsSupportedJNIVersion(jint version);
 170 
 171 JNIEXPORT jobjectArray JNICALL
 172 JVM_GetVmArguments(JNIEnv *env);
 173 
 174 JNIEXPORT jboolean JNICALL
 175 JVM_IsPreviewEnabled(void);
 176 
 177 JNIEXPORT jboolean JNICALL
 178 JVM_IsValhallaEnabled(void);
 179 
 180 JNIEXPORT jboolean JNICALL
 181 JVM_IsContinuationsSupported(void);
 182 
 183 JNIEXPORT jboolean JNICALL
 184 JVM_IsForeignLinkerSupported(void);
 185 
 186 JNIEXPORT jboolean JNICALL
 187 JVM_IsStaticallyLinked(void);
 188 
 189 JNIEXPORT void JNICALL
 190 JVM_InitializeFromArchive(JNIEnv* env, jclass cls);
 191 
 192 JNIEXPORT void JNICALL
 193 JVM_RegisterLambdaProxyClassForArchiving(JNIEnv* env, jclass caller,
 194                                          jstring interfaceMethodName,
 195                                          jobject factoryType,
 196                                          jobject interfaceMethodType,
 197                                          jobject implementationMember,
 198                                          jobject dynamicMethodType,
 199                                          jclass lambdaProxyClass);

 538  */
 539 JNIEXPORT void JNICALL
 540 JVM_DefineArchivedModules(JNIEnv *env, jobject platform_loader, jobject system_loader);
 541 
 542 /*
 543  * Reflection support functions
 544  */
 545 
 546 JNIEXPORT jstring JNICALL
 547 JVM_InitClassName(JNIEnv *env, jclass cls);
 548 
 549 JNIEXPORT jobjectArray JNICALL
 550 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
 551 
 552 JNIEXPORT jboolean JNICALL
 553 JVM_IsInterface(JNIEnv *env, jclass cls);
 554 
 555 JNIEXPORT jboolean JNICALL
 556 JVM_IsHiddenClass(JNIEnv *env, jclass cls);
 557 
 558 JNIEXPORT jboolean JNICALL
 559 JVM_IsIdentityClass(JNIEnv *env, jclass cls);
 560 
 561 JNIEXPORT jobjectArray JNICALL
 562 JVM_GetDeclaredClasses(JNIEnv *env, jclass ofClass);
 563 
 564 JNIEXPORT jclass JNICALL
 565 JVM_GetDeclaringClass(JNIEnv *env, jclass ofClass);
 566 
 567 JNIEXPORT jstring JNICALL
 568 JVM_GetSimpleBinaryName(JNIEnv *env, jclass ofClass);
 569 
 570 /* Generics support (JDK 1.5) */
 571 JNIEXPORT jstring JNICALL
 572 JVM_GetClassSignature(JNIEnv *env, jclass cls);
 573 
 574 /* Annotations support (JDK 1.5) */
 575 JNIEXPORT jbyteArray JNICALL
 576 JVM_GetClassAnnotations(JNIEnv *env, jclass cls);
 577 
 578 /* Type use annotations support (JDK 1.8) */
 579 
 580 JNIEXPORT jbyteArray JNICALL

1077 JNIEXPORT void JNICALL
1078 JVM_RawMonitorExit(void *mon);
1079 
1080 /*
1081  * java.lang.management support
1082  */
1083 JNIEXPORT void* JNICALL
1084 JVM_GetManagement(jint version);
1085 
1086 /*
1087  * com.sun.tools.attach.VirtualMachine support
1088  *
1089  * Initialize the agent properties with the properties maintained in the VM.
1090  */
1091 JNIEXPORT jobject JNICALL
1092 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1093 
1094 JNIEXPORT jstring JNICALL
1095 JVM_GetTemporaryDirectory(JNIEnv *env);
1096 
1097 JNIEXPORT jarray JNICALL
1098 JVM_CopyOfSpecialArray(JNIEnv *env, jarray orig, jint from, jint to);
1099 
1100 JNIEXPORT jarray JNICALL
1101 JVM_NewNullRestrictedNonAtomicArray(JNIEnv *env, jclass elmClass, jint len, jobject initVal);
1102 
1103 JNIEXPORT jarray JNICALL
1104 JVM_NewNullRestrictedAtomicArray(JNIEnv *env, jclass elmClass, jint len, jobject initVal);
1105 
1106 JNIEXPORT jarray JNICALL
1107 JVM_NewNullableAtomicArray(JNIEnv *env, jclass elmClass, jint len);
1108 
1109 JNIEXPORT jboolean JNICALL
1110 JVM_IsFlatArray(JNIEnv *env, jobject obj);
1111 
1112 JNIEXPORT jboolean JNICALL
1113 JVM_IsNullRestrictedArray(JNIEnv *env, jobject obj);
1114 
1115 JNIEXPORT jboolean JNICALL
1116 JVM_IsAtomicArray(JNIEnv *env, jobject obj);
1117 
1118 /* Generics reflection support.
1119  *
1120  * Returns information about the given class's EnclosingMethod
1121  * attribute, if present, or null if the class had no enclosing
1122  * method.
1123  *
1124  * If non-null, the returned array contains three elements. Element 0
1125  * is the java.lang.Class of which the enclosing method is a member,
1126  * and elements 1 and 2 are the java.lang.Strings for the enclosing
1127  * method's name and descriptor, respectively.
1128  */
1129 JNIEXPORT jobjectArray JNICALL
1130 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1131 
1132 /*
1133  * Virtual thread support.
1134  */
1135 JNIEXPORT void JNICALL
1136 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1137 
< prev index next >