-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 11, 17, 21, 24, 25
-
Component/s: hotspot
-
b21
```
const size_t min_pages = 4; // 1 for eden + 1 for each survivor + 1 for old
const size_t page_sz = os::page_size_for_region_aligned(MinHeapSize, min_pages);
```
As we can see, the value of `MinHeapSize` (often derived ergonomically) is critical.
For example: `-XX:+UseParallelGC -XX:+UseLargePages -XX:LargePageSizeInBytes=1g -XX:+UseNUMA -Xmx1g --version`. Here, `UseNUMA` is included to observe the effects of choosing an incorrect page size.
- relates to
-
JDK-8283935 Parallel: Crash during pretouch after large pages allocation failure
-
- Resolved
-
-
JDK-8366434 THP not working properly with G1 after JDK-8345655
-
- Resolved
-
-
JDK-8298642 ParallelGC -XX:+UseNUMA eden spaces allocated on wrong node
-
- Resolved
-
-
JDK-8324817 Parallel GC does not pre-touch all heap pages when AlwaysPreTouch enabled and large page disabled
-
- Resolved
-
-
JDK-8345323 Parallel GC does not handle UseLargePages and UseNUMA gracefully
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/2be273f2
-
Review(master)
openjdk/jdk/26700