Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8074026

Deprecated UseBoundThreads, DefaultThreadPriority and NoYieldsInMicrolock VM options still defined in globals.hpp

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b64

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ddmitriev Dmitry Dmitriev
                  Reporter:
                  ddmitriev Dmitry Dmitriev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: