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

Enable UseDynamicNumberOfGCThreads by default

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 11
    • hotspot
    • None
    • gc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: