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

Enable UseDynamicNumberOfGCThreads by default

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • hotspot
    • None
    • gc
    • b07

      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.

        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved: