Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8198510 Enable UseDynamicNumberOfGCThreads by default
  3. JDK-8199513

Release Note: Garbage Collectors Adaptively Scale the Number of Threads by Default

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • P4
    • Resolution: Delivered
    • 11
    • 11
    • hotspot
    • gc
    • Verified

    Description

      The number of threads garbage collectors use in the garbage collection stop-the-world pauses determine the number of threads to use based on the maximum size of the Java heap. The flag -XX:UseDynamicNumberOfGCThreads is now true (enabled) by default.

      This improves startup time and reduces resource usage particularly for Java applications run with a small Java heap.

      If you experience performance reductions particularly on applications that use a small amount of Java heap, you can disable this new behavior by specifying -XX:- UseDynamicNumberOfGCThreads on the command line.

      Attachments

        Issue Links

          Activity

            People

              mdoerr Martin Doerr
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: