JDK-8074026 : Deprecated UseBoundThreads, DefaultThreadPriority and NoYieldsInMicrolock VM options still defined in globals.hpp
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-02-27
  • Updated: 2015-06-03
  • Resolved: 2015-04-21
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 9
9 b64Fixed
Related Reports
Blocks :  
Relates :  
Description
Fix for JDK-8038473 "Remove support for old T1 libthread" deprecate UseBoundThreads, DefaultThreadPriority and NoYieldsInMicrolock VM options. But these options are still defined in hotspot/src/share/vm/runtime/globals.hpp file and accepted by JVM(instead of printing warning about deprecation).

Also, UseBoundThreads option is used in Arguments::parse_each_vm_init_arg function in hotspot/src/share/vm/runtime/arguments.cpp:
    } else if (match_option(option, "-Xboundthreads")) {
      // Bind user level threads to kernel threads (Solaris only)
      FLAG_SET_CMDLINE(bool, UseBoundThreads, true);

So, possible, "-Xboundthreads" also can be deprecated because it used only to set deprecated "UseBoundThreads" to true.
Comments
This bug can be resolved only after JDK-8073989, because otherwise "test/runtime/CommandLine/ObsoleteFlagErrorMessage.java" test will fail. This test will be corrected by JDK-8073989.
12-03-2015