RFR: 8253208: Move CDS related code to a separate class

Alan Bateman alanb at openjdk.java.net
Sat Sep 19 15:54:25 UTC 2020


On Fri, 18 Sep 2020 23:47:56 GMT, Yumin Qi <minqi at openjdk.org> wrote:

> With more CDS related code added to VM, it is time to move CDS code to a separate class. CDS is the new class which is
> specific to CDS.
> Tests: tier1-4

src/java.base/share/classes/jdk/internal/misc/CDS.java line 42:

> 40:     public static native void defineArchivedModules(ClassLoader platformLoader, ClassLoader systemLoader);
> 41:
> 42:     public static native long getRandomSeedForCDSDump();

The moving of the archive methods to CDS looks okay but inconsistent to only comment 3 of the 5 methods.

-------------

PR: https://git.openjdk.java.net/jdk/pull/261


More information about the core-libs-dev mailing list