RFR: 8243315: ParallelScavengeHeap::initialize() passes GenAlignment as page size to os::trace_page_sizes instead of actual page size

Stefan Johansson sjohanss at openjdk.java.net
Wed Nov 25 15:25:01 UTC 2020


On Wed, 25 Nov 2020 15:20:22 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

>> Of which the Intel approach with the 2M pages could be seen as an expansion (e.g. if you have a heap of 1.5G, allocate 1G huge page, and fill in the ends with 2M pages, and if necessary with 4K pages).
>
> Sorry was a bit unclear, I know about this case but I was more thinking do we need to support it. Could we just always align correctly.

The model would be so much nicer if a `ReservedSpace` always just had one page-size.

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

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


More information about the hotspot-dev mailing list