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

Shenandoah: Round up region size to page size unconditionally

XMLWordPrintable

    • gc
    • b22

        Since JDK-8265239, runtime/os/TestTracePageSizes.java fails with Shenandoah like this:

        # Internal Error (/home/buildbot/worker/test-jdkX-linux/build/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp:156), pid=55712, tid=55720
        # assert(_num_regions == (max_byte_size / reg_size_bytes)) failed: Must match

        This is because Shenandoah region sizes are rounded up to page size only when ShenandoahUncommit is true. In that test configuration, ShenandoahUncommit is false, because Xmx == Xms.

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: