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

Enhance heap region size ergonomics to improve OOTB performance

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b18

      Description

      The way we currently choose the heap region size in G1 can sometimes give worse OOTB performance than expected. In recent benchmarking the difference between setting a fixed heap size of 4g and letting it get a default max heap of 4g was bigger than expected.

      Running SPECjbb2015, the max-jOPS increased with ~40% and critical-jOPS increased 130% when setting a fixed heap size. The main reason behind the improvement is that when running with a fixed heap size the region size will be 2m instead of 1m. This difference comes from the fact that both the initial and max heap size is considered when calculating the heap region size ergonomically.

      We should look into changing this to give a better out of the box behavior.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: