-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
13, 14
-
x86_64
-
windows
The following three SA tests failed due to memory alloc issues
in the JDK14 CI:
serviceability/sa/TestInstanceKlassSize.java
serviceability/sa/TestInstanceKlassSizeForInterface.java
serviceability/sa/TestClassDump.java
The test config included these options which might be relevant:
-XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseNUMA
Here are snippets from one of the hs_err_pid files:
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 2097152 bytes for AllocateHeap
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Unscaled Compressed Oops mode in which the Java heap is
# placed in the first 4GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 4GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (t:/workspace/open/src/hotspot/share/memory/allocation.cpp:45), pid=12564, tid=8680
#
# JRE version: Java(TM) SE Runtime Environment (14.0+17) (fastdebug build 14-ea+17-717)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+17-717, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Core dump will be written. Default location: T:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_serviceability\scratch\5\hs_err_pid12564.mdmp
#
--------------- S U M M A R Y ------------
Command Line: -XX:+UsePerfData -XX:MaxRAMPercentage=3 jdk.test.lib.apps.LingeredApp 80d0ff1a-c391-4208-9cc5-96e887abe2b9.lck
Host: <host>, AMD EPYC 7551 32-Core Processor , 16 cores, 63G, Windows Server 2012 R2 , 64 bit Build 9600 (6.3.9600.19358)
Time: Thu Oct 3 09:44:33 2019 /GM elapsed time: 2 seconds (0d 0h 0m 2s)
<snip>
--------------- S Y S T E M ---------------
HostName: <host> OS: Windows Server 2012 R2 , 64 bit Build 9600 (6.3.9600.19358)
KVM virtualization detected
CPU:total 16 (initial active 16) (16 cores per cpu, 2 threads per core) family 23 model 1 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, ht, tsc, bmi1, bmi2, adx, sha, fma
Memory: 4k page, system-wide physical 65532M (13857M free)
TotalPageFile size 73724M (AvailPageFile size 1197M)
current process WorkingSet (physical memory assigned to process): 85M, peak: 85M
current process commit charge ("private bytes"): 1165M, peak: 1166M
vm_info: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+17-717) for windows-amd64 JRE (14-ea+17-717), built on Oct 2 2019 09:38:46 by "mach5one" with unknown MS VC++:1916
in the JDK14 CI:
serviceability/sa/TestInstanceKlassSize.java
serviceability/sa/TestInstanceKlassSizeForInterface.java
serviceability/sa/TestClassDump.java
The test config included these options which might be relevant:
-XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseNUMA
Here are snippets from one of the hs_err_pid files:
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 2097152 bytes for AllocateHeap
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Unscaled Compressed Oops mode in which the Java heap is
# placed in the first 4GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 4GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (t:/workspace/open/src/hotspot/share/memory/allocation.cpp:45), pid=12564, tid=8680
#
# JRE version: Java(TM) SE Runtime Environment (14.0+17) (fastdebug build 14-ea+17-717)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+17-717, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Core dump will be written. Default location: T:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_serviceability\scratch\5\hs_err_pid12564.mdmp
#
--------------- S U M M A R Y ------------
Command Line: -XX:+UsePerfData -XX:MaxRAMPercentage=3 jdk.test.lib.apps.LingeredApp 80d0ff1a-c391-4208-9cc5-96e887abe2b9.lck
Host: <host>, AMD EPYC 7551 32-Core Processor , 16 cores, 63G, Windows Server 2012 R2 , 64 bit Build 9600 (6.3.9600.19358)
Time: Thu Oct 3 09:44:33 2019 /GM elapsed time: 2 seconds (0d 0h 0m 2s)
<snip>
--------------- S Y S T E M ---------------
HostName: <host> OS: Windows Server 2012 R2 , 64 bit Build 9600 (6.3.9600.19358)
KVM virtualization detected
CPU:total 16 (initial active 16) (16 cores per cpu, 2 threads per core) family 23 model 1 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, ht, tsc, bmi1, bmi2, adx, sha, fma
Memory: 4k page, system-wide physical 65532M (13857M free)
TotalPageFile size 73724M (AvailPageFile size 1197M)
current process WorkingSet (physical memory assigned to process): 85M, peak: 85M
current process commit charge ("private bytes"): 1165M, peak: 1166M
vm_info: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+17-717) for windows-amd64 JRE (14-ea+17-717), built on Oct 2 2019 09:38:46 by "mach5one" with unknown MS VC++:1916