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

Enable UseDynamicNumberOfGCThreads by default

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b07

      Description

      The VM currently starts a large amount of GC threads on systems with many CPUs regardless of the Java heap size.
      This doesn't make sense for very small heap sizes.

      The number of ParallelGCThreads which currently really get started can be observed by e.g.:
      jdk/bin/java -Xmx128m -XX:+PrintFlagsFinal -version|grep GCThreads

      The existing option UseDynamicNumberOfGCThreads should be enabled by default to prevent more threads than needed from getting started.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdoerr Martin Doerr
                Reporter:
                mdoerr Martin Doerr
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: