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.

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

                Created:
                Updated:
                Resolved: