< prev index next >

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

Print this page




 397      * If VM options file is specified via -XX:VMOptionsFile, the vm options
 398      * file is read and expanded in place of -XX:VMOptionFile option.
 399      */
 400     public static native String[] getRuntimeArguments();
 401 
 402     static {
 403         initialize();
 404     }
 405     private static native void initialize();
 406 
 407     /**
 408      * Initialize archived static fields in the given Class using archived
 409      * values from CDS dump time. Also initialize the classes of objects in
 410      * the archived graph referenced by those fields.
 411      *
 412      * Those static fields remain as uninitialized if there is no mapped CDS
 413      * java heap data or there is any error during initialization of the
 414      * object class in the archived graph.
 415      */
 416     public static native void initializeFromArchive(Class<?> c);


 417 }


 397      * If VM options file is specified via -XX:VMOptionsFile, the vm options
 398      * file is read and expanded in place of -XX:VMOptionFile option.
 399      */
 400     public static native String[] getRuntimeArguments();
 401 
 402     static {
 403         initialize();
 404     }
 405     private static native void initialize();
 406 
 407     /**
 408      * Initialize archived static fields in the given Class using archived
 409      * values from CDS dump time. Also initialize the classes of objects in
 410      * the archived graph referenced by those fields.
 411      *
 412      * Those static fields remain as uninitialized if there is no mapped CDS
 413      * java heap data or there is any error during initialization of the
 414      * object class in the archived graph.
 415      */
 416     public static native void initializeFromArchive(Class<?> c);
 417 
 418     public static native void linkClassesForCDS();
 419 }
< prev index next >