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

G1HeapSizingPolicy attempts to compute expansion_amount even when at full capacity

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 14
    • 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.

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

              Created:
              Updated:
              Resolved: