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

Shenandoah: Shenandoah heap region count could be off by 1

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b19

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: