37 jobject platform_loader,
38 jobject system_loader) {
39 JVM_DefineArchivedModules(env, platform_loader, system_loader);
40 }
41
42 JNIEXPORT jlong JNICALL
43 Java_jdk_internal_misc_CDS_getRandomSeedForDumping(JNIEnv *env, jclass ignore) {
44 return JVM_GetRandomSeedForDumping();
45 }
46
47 JNIEXPORT jint JNICALL
48 Java_jdk_internal_misc_CDS_getCDSConfigStatus(JNIEnv *env, jclass jcls) {
49 return JVM_GetCDSConfigStatus();
50 }
51
52 JNIEXPORT void JNICALL
53 Java_jdk_internal_misc_CDS_logLambdaFormInvoker(JNIEnv *env, jclass jcls, jstring line) {
54 JVM_LogLambdaFormInvoker(env, line);
55 }
56
57 JNIEXPORT void JNICALL
58 Java_jdk_internal_misc_CDS_dumpClassList(JNIEnv *env, jclass jcls, jstring fileName) {
59 JVM_DumpClassListToFile(env, fileName);
60 }
61
62 JNIEXPORT void JNICALL
63 Java_jdk_internal_misc_CDS_dumpDynamicArchive(JNIEnv *env, jclass jcls, jstring archiveName) {
64 JVM_DumpDynamicArchive(env, archiveName);
65 }
|
37 jobject platform_loader,
38 jobject system_loader) {
39 JVM_DefineArchivedModules(env, platform_loader, system_loader);
40 }
41
42 JNIEXPORT jlong JNICALL
43 Java_jdk_internal_misc_CDS_getRandomSeedForDumping(JNIEnv *env, jclass ignore) {
44 return JVM_GetRandomSeedForDumping();
45 }
46
47 JNIEXPORT jint JNICALL
48 Java_jdk_internal_misc_CDS_getCDSConfigStatus(JNIEnv *env, jclass jcls) {
49 return JVM_GetCDSConfigStatus();
50 }
51
52 JNIEXPORT void JNICALL
53 Java_jdk_internal_misc_CDS_logLambdaFormInvoker(JNIEnv *env, jclass jcls, jstring line) {
54 JVM_LogLambdaFormInvoker(env, line);
55 }
56
57 JNIEXPORT void JNICALL
58 Java_jdk_internal_misc_CDS_logDynamicProxy0(JNIEnv *env, jclass jcls, jobject loader, jstring proxy_name,
59 jobjectArray interfaces, jint accessFlags) {
60 JVM_LogDynamicProxy(env, loader, proxy_name, interfaces, accessFlags);
61 }
62
63 JNIEXPORT void JNICALL
64 Java_jdk_internal_misc_CDS_dumpClassList(JNIEnv *env, jclass jcls, jstring fileName) {
65 JVM_DumpClassListToFile(env, fileName);
66 }
67
68 JNIEXPORT void JNICALL
69 Java_jdk_internal_misc_CDS_dumpDynamicArchive(JNIEnv *env, jclass jcls, jstring archiveName) {
70 JVM_DumpDynamicArchive(env, archiveName);
71 }
|