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.
- csr for
-
JDK-8339798 Hotspot should support multiple large page sizes on Windows
- Closed
- links to
-
Commit(master) openjdk/jdk/4ded2838
-
Review(master) openjdk/jdk/20758