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

Create GC worker threads dynamically

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs16
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b120
    • CPU:
      generic
    • OS:
      generic

      Description

      See evaluation.
      The VM currently creates all GC worker threads during initialization, and all workers participate in every GC. There is work in progress to change the latter property (6593758), so that the number of active GC worker threads can vary from one collection to the next based on the amount of work. Once that feature is enabled, GC worker threads should be created lazily (only when needed) and destroyed when not needed. This would save memory and improve startup time (slightly) for applications which do not use GC heavily.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jmasa Jon Masamitsu (Inactive)
                Reporter:
                jcoomes John Coomes
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: