G1HeapSizingPolicy attempts to compute expansion_amount even when at full capacity

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 14
    • Component/s: hotspot
    • gc
    • b15

      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.

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

              Created:
              Updated:
              Resolved: