RFR: 8256155: Allow multiple large page sizes to be used on Linux [v30]

Stefan Johansson sjohanss at openjdk.java.net
Fri Apr 30 07:50:56 UTC 2021


On Wed, 28 Apr 2021 18:36:53 GMT, Marcus G K Williams <github.com+168222+mgkwill at openjdk.org> wrote:

>> Change the meaning of LargePageSizeInBytes to be the maximum large page size the JVM may use (not the only one). A default value of zero will mean to allow the JVM use large page sizes up to the system's default large page size.
>
> Marcus G K Williams has updated the pull request incrementally with one additional commit since the last revision:
> 
>   kstefanj review
>   
>   Signed-off-by: Marcus G K Williams <marcus.williams at intel.com>

Filed [JDK-8266349](https://bugs.openjdk.java.net/browse/JDK-8266349) for passing page size down to `reserve_memory_special`. As I mentioned [here](https://github.com/openjdk/jdk/pull/1153/files#r623353767), if we do this change before this one. We should not have to care about anything but adding the available and configure page sizes to `os::_page_sizes`.

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

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



More information about the hotspot-gc-dev mailing list