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

G1HeapSizingPolicy attempts to compute expansion_amount even when at full capacity

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b15

      Description

      During heap expansion, the sizing policy computes the expansion_amount which always returns zero when the heap is already at max_capacity. There is no need to execute the entire procedure, thus can return on checking that heap capacity is already at max.

        Attachments

          Activity

            People

            • Assignee:
              iwalulya Ivan Walulya
              Reporter:
              iwalulya Ivan Walulya
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: