1711 objArrayOop refs = cp->resolved_references(); |
1711 objArrayOop refs = cp->resolved_references(); |
1712 return (jobject)JNIHandles::make_local(env, refs); |
1712 return (jobject)JNIHandles::make_local(env, refs); |
1713 } else { |
1713 } else { |
1714 return NULL; |
1714 return NULL; |
1715 } |
1715 } |
|
1716 WB_END |
|
1717 |
|
1718 WB_ENTRY(jboolean, WB_AreOpenArchiveHeapObjectsMapped(JNIEnv* env)) |
|
1719 return MetaspaceShared::open_archive_heap_region_mapped(); |
1716 WB_END |
1720 WB_END |
1717 |
1721 |
1718 WB_ENTRY(jboolean, WB_IsCDSIncludedInVmBuild(JNIEnv* env)) |
1722 WB_ENTRY(jboolean, WB_IsCDSIncludedInVmBuild(JNIEnv* env)) |
1719 #if INCLUDE_CDS |
1723 #if INCLUDE_CDS |
1720 return true; |
1724 return true; |
2029 (void*)&WB_GetMethodStringOption}, |
2033 (void*)&WB_GetMethodStringOption}, |
2030 {CC"isShared", CC"(Ljava/lang/Object;)Z", (void*)&WB_IsShared }, |
2034 {CC"isShared", CC"(Ljava/lang/Object;)Z", (void*)&WB_IsShared }, |
2031 {CC"isSharedClass", CC"(Ljava/lang/Class;)Z", (void*)&WB_IsSharedClass }, |
2035 {CC"isSharedClass", CC"(Ljava/lang/Class;)Z", (void*)&WB_IsSharedClass }, |
2032 {CC"areSharedStringsIgnored", CC"()Z", (void*)&WB_AreSharedStringsIgnored }, |
2036 {CC"areSharedStringsIgnored", CC"()Z", (void*)&WB_AreSharedStringsIgnored }, |
2033 {CC"getResolvedReferences", CC"(Ljava/lang/Class;)Ljava/lang/Object;", (void*)&WB_GetResolvedReferences}, |
2037 {CC"getResolvedReferences", CC"(Ljava/lang/Class;)Ljava/lang/Object;", (void*)&WB_GetResolvedReferences}, |
|
2038 {CC"areOpenArchiveHeapObjectsMapped", CC"()Z", (void*)&WB_AreOpenArchiveHeapObjectsMapped}, |
2034 {CC"isCDSIncludedInVmBuild", CC"()Z", (void*)&WB_IsCDSIncludedInVmBuild }, |
2039 {CC"isCDSIncludedInVmBuild", CC"()Z", (void*)&WB_IsCDSIncludedInVmBuild }, |
2035 {CC"clearInlineCaches0", CC"(Z)V", (void*)&WB_ClearInlineCaches }, |
2040 {CC"clearInlineCaches0", CC"(Z)V", (void*)&WB_ClearInlineCaches }, |
2036 {CC"addCompilerDirective", CC"(Ljava/lang/String;)I", |
2041 {CC"addCompilerDirective", CC"(Ljava/lang/String;)I", |
2037 (void*)&WB_AddCompilerDirective }, |
2042 (void*)&WB_AddCompilerDirective }, |
2038 {CC"removeCompilerDirective", CC"(I)V", (void*)&WB_RemoveCompilerDirective }, |
2043 {CC"removeCompilerDirective", CC"(I)V", (void*)&WB_RemoveCompilerDirective }, |