< prev index next >

src/java.base/share/classes/jdk/internal/misc/VM.java

Print this page
rev 59635 : [mq]: cds_lambda

@@ -469,10 +469,20 @@
     public static native void initializeFromArchive(Class<?> c);
 
     public static native long getRandomSeedForCDSDump();
 
     /**
+     * Check if CDS dynamic dumping is enabled via the DynamicDumpSharedSpaces flag.
+     */
+    public static native boolean isCDSDumpingEnabled();
+
+    /**
+     * Check if CDS sharing is enabled by via the UseSharedSpaces flag.
+     */
+    public static native boolean isCDSSharingEnabled();
+
+    /**
      * Provides access to information on buffer usage.
      */
     public interface BufferPool {
         String getName();
         long getCount();
< prev index next >