RFR 8179018: Remove obsoleted one X options from JDK 10

harold seigel harold.seigel at oracle.com
Fri Jul 21 12:16:05 UTC 2017


Hi,

Please review this small JDK-10 change to completely remove obsoleted 
options -Xoss, -Xsqnopause, -Xoptimize, -Xboundthreads, and 
-Xusealtsigs.  Now when any of these options are specified, users will 
get the following:

    java -Xoptimize -version
    Unrecognized option: -Xoptimize
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.

Open Webrev: 
http://cr.openjdk.java.net/~hseigel/bug_8179018/webrev/index.html

JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8179018

The change was tested with the JCK lang and VM tests, the JTreg hotspot, 
java/io, java/lang, java/util, sun/security, and other JTReg tests, the 
co-located NSK tests, and with JPRT.

The -Xusealtsigs option appears in man page files such as 
jdk/src/linux/doc/man/ja/java.1.  These references should get removed as 
part of JDK-8179018 <https://bugs.openjdk.java.net/browse/JDK-8179018>.

Thanks, Harold



More information about the hotspot-runtime-dev mailing list