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

Shenandoah: Shenandoah heap region count could be off by 1

XMLWordPrintable

    • gc
    • b19

        Shenandoah uses MaxHeapSize to calculate region size, then aligns up heap size to region size alignment, but when it calculates region count, it does not take alignment into account, that may result 1 region short than actual count.

        MaxHeapSize eventually aligns to to HeapAlignment (which is region size in Shenandoah case), but it is too late.

              zgu Zhengyu Gu
              zgu Zhengyu Gu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: