RFR: 8271195: Use largest available large page size smaller than LargePageSizeInBytes when available [v3]
Stefan Karlsson
stefank at openjdk.java.net
Fri Feb 4 15:28:08 UTC 2022
On Fri, 4 Feb 2022 15:07:54 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:
>> New ticket created:
>> https://bugs.openjdk.java.net/browse/JDK-8281263
>
> The documentation around `mmap` with MAP_FIXED is not crystal clear on failure. In the case we return false from `commit_memory_special(...)` the commit over the reserved range failed and I'm pretty sure that when it does the virtual memory range reserved becomes available to the system again and might be reused by some other thread. So unmapping that range would break any such reservation. @stefank isn't this what we've had problems with in the past?
Yes, that is my understanding.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7326
More information about the hotspot-gc-dev
mailing list