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

Marcus G K Williams mgkwill at openjdk.java.net
Fri May 7 22:30:51 UTC 2021


On Fri, 7 May 2021 16:16:22 GMT, Marcus G K Williams <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 with a new target base due to a merge or a rebase. The pull request now contains 53 commits:
> 
>  - Remove reserve_memory_special_huge_tlbfs mods except assert
>    
>    Signed-off-by: Marcus G K Williams <marcus.williams at intel.com>
>  - Merge branch 'master' into update_hlp
>  - Merge branch 'master' into update_hlp
>  - Remove extranous vm_page_size check
>    
>    Signed-off-by: Marcus G K Williams <marcus.williams at intel.com>
>  - kstefanj review
>    
>    Signed-off-by: Marcus G K Williams <marcus.williams at intel.com>
>  - Set LargePageSizeInBytes to largepage upper limit
>    
>    Signed-off-by: Marcus G K Williams <marcus.williams at intel.com>
>  - Merge branch 'master' into update_hlp
>  - Fix merge
>    
>    Signed-off-by: Marcus G K Williams <marcus.williams at intel.com>
>  - Merge branch 'master' into update_hlp
>  - Merge branch 'master' into update_hlp
>  - ... and 43 more: https://git.openjdk.java.net/jdk/compare/0790e601...7368e7d4

FYI: Upon reverting **_8214237: Join parallel phases post evacuation_** #3811 my local build works again. I'm not sure why I'm seeing the issue and not others. Not sure if this is an intermittent/obscure bug or weird tooling issue.

On openjdk/jdk master:

$ git revert 14f0afe8118092be530aac0c4cc5d1d5d4fe982a
Removing src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.hpp
Removing src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp
[test_fix 3dd72600fbd] Revert "8214237: Join parallel phases post evacuation"
 26 files changed, 801 insertions(+), 1081 deletions(-)
 delete mode 100644 src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp
 delete mode 100644 src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.hpp
$ make clean all CONF=linux-x86_64-server-release
Building targets 'clean all' in configuration 'linux-x86_64-server-release'
Cleaning hotspot build artifacts ... done
Cleaning jdk build artifacts ... done
...
Creating images/test/micro/benchmarks.jar
Creating interim jimage
Compiling 1 files for CLASSLIST_JAR
Creating support/classlist.jar
Creating jdk.jlink.jmod
Creating java.base.jmod
Creating jdk image
Creating CDS archive for jdk image
Creating CDS-NOCOOPS archive for jdk image
Stopping sjavac server
Finished building targets 'clean all' in configuration 'linux-x86_64-server-release'

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

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



More information about the hotspot-gc-dev mailing list