-
Bug
-
Resolution: Not an Issue
-
P2
-
22.0.2, 23
Ran 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=1270874112)
(mmap: reserved=2147483648, committed=1270874112, peak=2147483648)
The heap has not yet fully expanded.
Verification Results from different platforms:
Mac-aarch64
Before fix-22.0.2+3 - FAIL
After fix-22.0.2+4 - PASS
Before fix 23-b15 - FAIL
After fix 23-b16 - PASS
Result from fixed version 23-b16 in Mac-aarch64
Java Heap (reserved=2147483648, committed=2147483648)
(mmap: reserved=2147483648, committed=2147483648, at peak)
Heap is fully expanded.
Linux-aarch64
Fixed version 22.0.2+4 - FAIL
Fixed version 23-b16 - FAIL
linux-x64
Fixed version 22.0.2+4 - FAIL
Fixed version 23-b16 - FAIL
Windows
Fixed version 22.0.2+4 - FAIL
Fixed version 23-b16 - FAIL
When we tried running multiple times in windows platform, it passed once out of 6times.
-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=1270874112)
(mmap: reserved=2147483648, committed=1270874112, peak=2147483648)
The heap has not yet fully expanded.
Verification Results from different platforms:
Mac-aarch64
Before fix-22.0.2+3 - FAIL
After fix-22.0.2+4 - PASS
Before fix 23-b15 - FAIL
After fix 23-b16 - PASS
Result from fixed version 23-b16 in Mac-aarch64
Java Heap (reserved=2147483648, committed=2147483648)
(mmap: reserved=2147483648, committed=2147483648, at peak)
Heap is fully expanded.
Linux-aarch64
Fixed version 22.0.2+4 - FAIL
Fixed version 23-b16 - FAIL
linux-x64
Fixed version 22.0.2+4 - FAIL
Fixed version 23-b16 - FAIL
Windows
Fixed version 22.0.2+4 - FAIL
Fixed version 23-b16 - FAIL
When we tried running multiple times in windows platform, it passed once out of 6times.
- relates to
-
JDK-8332531 Parallel: Parellel GC resizes heap too aggressive
- Open
-
JDK-8328744 Parallel: Parallel GC throws OOM before heap is fully expanded
- Closed