RFR: 8256155: os::Linux Populate all large_page_sizes, select smallest page size in reserve_memory_special_huge_tlbfs* [v27]

Marcus G K Williams github.com+168222+mgkwill at openjdk.java.net
Wed Apr 21 18:03:39 UTC 2021


On Wed, 21 Apr 2021 12:46:21 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Nice, an easy approach should be to just remove all large page sizes larger than the decided maximum from _page_sizes.

Sounds like a good approach, I'll do that.

>> * Do we allow explicit -XX:LargePageSizeInBytes=0 ? Seems somewhat pointless. Do we handle it today?

> Actually we don't, but we probably should handle it. Would be kind of strange preventing someone from setting the default.

How should we handle this differently?

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

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



More information about the hotspot-gc-dev mailing list