OpenJDK on Windows only supports large pages <= 4MB on IA32/AMD64. See the mailing list discussion at https://mail.openjdk.org/pipermail/hotspot-runtime-dev/2023-October/065382.html for some background behind the 4MB limit. This limitation should be removed for the AMD64 architecture.
This change will be behind a new proposed JVM flag (-XX:+EnableAllLargePageSizesForWindows) that defaults to FALSE. The flag allows users to opt in to the new large page handling behavior, with a warning when the requested large page size is not a multiple of the OS minimum page size.
This change will be behind a new proposed JVM flag (-XX:+EnableAllLargePageSizesForWindows) that defaults to FALSE. The flag allows users to opt in to the new large page handling behavior, with a warning when the requested large page size is not a multiple of the OS minimum page size.
- backport of
-
JDK-8338136 Hotspot should support multiple large page sizes on Windows
- Resolved
- csr for
-
JDK-8343896 Hotspot should support multiple large page sizes on Windows
- Closed