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

Stefan Johansson sjohanss at openjdk.java.net
Thu Apr 29 19:55:54 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>

src/hotspot/share/runtime/os.cpp line 1483:

> 1481:     for (size_t page_size = page_sizes().largest(); page_size != 0;
> 1482:          page_size = page_sizes().next_smaller(page_size)) {
> 1483:       if (page_size <= max_page_size && page_size > (size_t)vm_page_size()) {

Is this really needed?

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

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



More information about the hotspot-gc-dev mailing list