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

Jiangli Zhou jiangli.zhou at oracle.com
Tue Jul 17 16:26:50 UTC 2018

Hi Calvin,

Looks good! You probably have already done it, please double check all 
jtreg tests to make sure there is no additional reference to UseAppCDS 
flag left.



On 7/17/18 9:18 AM, Calvin Cheung wrote:
> 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.
> thanks,
> Calvin

More information about the hotspot-runtime-dev mailing list