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

Obsolete unused ProcessDistributionStride product option

XMLWordPrintable

    • gc
    • behavioral
    • minimal
    • Hide
      The option `ProcessDistributionStride` has had no effect since removal of the Solaris port in JDK 15. It concerns distribution of worker threads across "boards" on that operating system for the Parallel collector, which is very unlikely to have ever been used by people. Internet search does not find anything useful.
      Show
      The option `ProcessDistributionStride` has had no effect since removal of the Solaris port in JDK 15. It concerns distribution of worker threads across "boards" on that operating system for the Parallel collector, which is very unlikely to have ever been used by people. Internet search does not find anything useful.
    • add/remove/modify command line option

      Summary

      Obsolete the unused ProcessDistributionStride option.

      Problem

      The JVM option ProcessDistributionStride is unused since removal of the Solaris platform in JDK 15.

      Solution

      Obsolete the ProcessDistributionStride option with the goal to remove it in one of the next few releases.

      Specification

      diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
      index bacbe3f343f..7b2639ea1be 100644
      --- a/src/hotspot/share/runtime/arguments.cpp
      +++ b/src/hotspot/share/runtime/arguments.cpp
      @@ -529,6 +529,7 @@ static SpecialFlag const special_jvm_flags[] = {
         { "TLABStats",                    JDK_Version::jdk(12), JDK_Version::jdk(23), JDK_Version::jdk(24) },
         { "GCLockerEdenExpansionPercent", JDK_Version::undefined(), JDK_Version::jdk(23), JDK_Version::jdk(24) },
         { "NUMAPageScanRate",             JDK_Version::undefined(), JDK_Version::jdk(23), JDK_Version::jdk(24) },
      +  { "ProcessDistributionStride",    JDK_Version::undefined(), JDK_Version::jdk(23), JDK_Version::jdk(24) },
       #ifdef ASSERT
         { "DummyObsoleteTestFlag",        JDK_Version::undefined(), JDK_Version::jdk(18), JDK_Version::undefined() },
       #endif
      diff --git a/src/hotspot/share/runtime/globals.hpp b/src/hotspot/share/runtime/globals.hpp
      index 13e0573ce4a..ee1e749b428 100644
      --- a/src/hotspot/share/runtime/globals.hpp
      +++ b/src/hotspot/share/runtime/globals.hpp
      @@ -897,10 +897,6 @@ const int ObjectAlignmentInBytes = 8;
         develop(bool, FLSVerifyDictionary, false,                                 \
                 "Do lots of (expensive) FLS dictionary verification")             \
                                                                                   \
      -  product(uintx, ProcessDistributionStride, 4,                              \
      -          "Stride through processors when distributing processes")          \
      -          range(0, max_juint)                                               \
      -                                                                            \
         develop(bool, TraceFinalizerRegistration, false,                          \
                 "Trace registration of final references")                         \

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: