| JDK 21 | JDK 22 | JDK 23 |
|---|---|---|
| 21.0.4Fixed | 22.0.2Fixed | 23 b16Fixed |
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
JDK-8338920 :
|
Run attached test case with following command line:
-Xmx2G -XX:+UseParallelGC -XX:NativeMemoryTracking=summary -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMTStatistics gc
After test is terminated with OOM, NMT statistics shows:
- Java Heap (reserved=2147483648, committed=1541406720)
(mmap: reserved=2147483648, committed=1541406720, peak=2147483648)
The heap has not yet fully expanded.
|