RFR: 8266740: Shenandoah: Heap region count calculation still wrong after JDK-8265239

Zhengyu Gu zgu at openjdk.java.net
Mon May 10 15:19:57 UTC 2021


On Fri, 7 May 2021 18:09:50 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> JDK-8265239 only addressed heap size that needed to be aligned to region size, it did not address the adjustment needed when use large page.
> 
> To avoid all the complication, I purpose to defer region count calculation until heap size adjustment is done.
> 
> Test:
> - [x] hotspot_gc_shenandoah
> - [x] runtime/os/TestTracePageSizes.java now passed

A duplicate of JDK-8266802

-------------

PR: https://git.openjdk.java.net/jdk/pull/3922



More information about the hotspot-gc-dev mailing list