JDK-8179018 : Remove obsoleted one X options from JDK 10
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-04-20
  • Updated: 2019-05-22
  • Resolved: 2017-07-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b21Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8185066 :  
Description
-Xoss, -Xsqnopause, -Xoptimize, -Xboundthreads and -Xusealtsigs options were obsoleted in JDK 9 and can be removed from JDK 10.

hotspot/src/share/vm/runtime/arguments.cpp:
    // -Xoss, -Xsqnopause, -Xoptimize, -Xboundthreads, -Xusealtsigs
    } else if (match_option(option, "-Xoss", &tail) ||
               match_option(option, "-Xsqnopause") ||
               match_option(option, "-Xoptimize") ||
               match_option(option, "-Xboundthreads") ||
               match_option(option, "-Xusealtsigs")) {
      // All these options are deprecated in JDK 9 and will be removed in a future release
      char version[256];
      JDK_Version::jdk(9).to_string(version, sizeof(version));
      warning("Ignoring option %s; support was removed in %s", option->optionString, version);