< prev index next >

src/java.base/share/native/libjava/CDS.c

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this

@@ -44,11 +44,16 @@
      return JVM_GetRandomSeedForDumping();
  }
  
  JNIEXPORT jboolean JNICALL
  Java_jdk_internal_misc_CDS_isDumpingArchive0(JNIEnv *env, jclass jcls) {
-     return JVM_IsCDSDumpingEnabled(env);
+     return JVM_IsDumpingArchive(env);
+ }
+ 
+ JNIEXPORT jboolean JNICALL
+ Java_jdk_internal_misc_CDS_isDumpingStaticArchive0(JNIEnv *env, jclass jcls) {
+     return JVM_IsDumpingStaticArchive(env);
  }
  
  JNIEXPORT jboolean JNICALL
  Java_jdk_internal_misc_CDS_isSharingEnabled0(JNIEnv *env, jclass jcls) {
      return JVM_IsSharingEnabled(env);

@@ -57,15 +62,31 @@
  JNIEXPORT jboolean JNICALL
  Java_jdk_internal_misc_CDS_isDumpingClassList0(JNIEnv *env, jclass jcls) {
      return JVM_IsDumpingClassList(env);
  }
  
+ JNIEXPORT jboolean JNICALL
+ Java_jdk_internal_misc_CDS_isDumpingHeap0(JNIEnv *env, jclass jcls) {
+     return JVM_IsDumpingHeap(env);
+ }
+ 
+ JNIEXPORT jboolean JNICALL
+ Java_jdk_internal_misc_CDS_isTracingDynamicProxy0(JNIEnv *env, jclass jcls) {
+     return JVM_IsTracingDynamicProxy(env);
+ }
+ 
  JNIEXPORT void JNICALL
  Java_jdk_internal_misc_CDS_logLambdaFormInvoker(JNIEnv *env, jclass jcls, jstring line) {
      JVM_LogLambdaFormInvoker(env, line);
  }
  
+ JNIEXPORT void JNICALL
+ Java_jdk_internal_misc_CDS_logDynamicProxy(JNIEnv *env, jclass jcls, jobject loader, jstring proxy_name,
+                                            jobjectArray interfaces, jint accessFlags) {
+     JVM_LogDynamicProxy(env, loader, proxy_name, interfaces, accessFlags);
+ }
+ 
  JNIEXPORT void JNICALL
  Java_jdk_internal_misc_CDS_dumpClassList(JNIEnv *env, jclass jcls, jstring fileName) {
      JVM_DumpClassListToFile(env, fileName);
  }
  
< prev index next >