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

Use ratios instead of percentages in G1HeapSizingPolicy::expansion_amount

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b25

      Description

      G1HeapSizingPolicy::expansion_amount bases its calculations on percentages instead of ratios for no reason. I.e. it adds a few seemingly unnecessary *100 multiplications.

      Remvoe those

      Logs may still print everything in percent.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tschatzl Thomas Schatzl
                Reporter:
                tschatzl Thomas Schatzl
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: