RFR: 8256155: os::Linux Populate all large_page_sizes, select smallest page size in reserve_memory_special_huge_tlbfs* [v27]

Marcus G K Williams github.com+168222+mgkwill at openjdk.java.net
Tue Apr 20 15:14:12 UTC 2021


On Tue, 20 Apr 2021 14:07:48 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

> Just created a CSR for this: [JDK-8265517](https://bugs.openjdk.java.net/browse/JDK-8265517)
> Please take a look at it and provide feedback if you have any.
> 
> @mgkwill, please update the patch with the text from the CSR for `LargePageSizeInBytes`.

Thanks for creating the CSR @stefank! I've read through it and it looks reasonable to me.

I've changed the text of the summary of this patch to match the summary of the CSR. Please let me know if more context from the CSR is needed. 

A modification of the code is needed to accomplish what @tstuefe suggested:

> Default (`LargePageSizeInBytes=0`)
> * old behavior - use the systems default large page size
> * new behavior - use all configured page sizes up to and including the systems default large page size

I'll update with a suggested route in the next couple of days.

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

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



More information about the hotspot-gc-dev mailing list