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

Balance the compaction phase for G1 Full GC

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 10
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      The compaction phase is currently not well balanced. The work done in this phase is determined by what regions the worker prepare in phase 2 (the prepare for compaction phase). Since there is no easy obvious way to steal work without adding a lot of synchronization this has to be solved in a smarter way.

      There have been some discussions about how to create smaller work items that all can be done in parallel and than let the workers claim such work items. There might be other ways to tackle this as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sjohanss Stefan Johansson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: