RFR: 8271195: Use largest available large page size smaller than LargePageSizeInBytes when available [v3]

Thomas Stuefe stuefe at openjdk.java.net
Fri Feb 4 15:51:10 UTC 2022


On Fri, 4 Feb 2022 15:37:33 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> > For the heap, LargePageSizeInBytes means "use that or no large pages at all".
> 
> @tstuefe, with https://bugs.openjdk.java.net/browse/JDK-8265517, such flag has the same semantic for code cache and heap.

Thank you @albertnetymk! I now remember this again. So the rule is the JVM is free to use whatever large pages it finds, up to and including LargePageSizeInBytes. Okay, then this patch makes sense.

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

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



More information about the hotspot-gc-dev mailing list