RFR(S): 8204591: Expire/remove the UseAppCDS option in JDK 12

Calvin Cheung calvin.cheung at oracle.com
Tue Jul 17 16:18:59 UTC 2018

bug: https://bugs.openjdk.java.net/browse/JDK-8204591

webrev: http://cr.openjdk.java.net/~ccheung/8204591/webrev.00/

The UseAppCDS option has been obsoleted in JDK 11, it will be removed in 
JDK 12.

With this change, if the UseAppCDS option is specified, vm will not start.

bash-4.2$ $MYJDK/bin/java -XX:+UseAppCDS -version
Unrecognized VM option 'UseAppCDS'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Ran hs-tier{1,2,3} tests successfully.


More information about the hotspot-runtime-dev mailing list