JDK-8225200 : assert(vs.actual_committed_size() >= commit_size) failed
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86_64
  • Submitted: 2019-06-03
  • Updated: 2019-07-17
  • Resolved: 2019-07-17
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
runtime/memory/RunUnitTestsConcurrently.java failed:

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=t:/workspace/open/src/hotspot/share/memory/virtualspace.cpp:1289
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (t:/workspace/open/src/hotspot/share/memory/virtualspace.cpp:1289), pid=27424, tid=20912
#  assert(vs.actual_committed_size() >= commit_size) failed: 'vs.actual_committed_size()': 0 'commit_size': 10485760
#
# JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-ea+0-1200)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-ea+0-1200, compiled mode, sharing, compressed oops, g1 gc, windows-amd64)
# Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_runtime\\scratch\\2\\hs_err_pid27424.mdmp
#
Unsupported internal testing APIs have been used.

# An error report file with more information is saved as:
# T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_runtime\\scratch\\2\\hs_err_pid27424.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Comments
See JDK-8227041
01-07-2019

Problem seems to be out of memory, test also ought to be moved, see JDK-8213269
14-06-2019

It seems that RunUnitTestsConcurrently.java is currently the only caller of WhiteBox.runMemoryUnitTests. That probably ought to be kept in mind when deciding what to do here. Conversion to gtest seems appropriate. There's an existing task for that, which I've linked: JDK-8213269.
12-06-2019

This failure is not related to -Xcomp or the JIT in general (there are no active compilations when we fail). According to the log file we fail due to: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007a9560000, 10485760, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455) Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007a9560000, 0x00000007a9f60000 size=10485760, executable=0) failed Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007abb80000, 2097152, 0) failed; error='The paging So basically we are just running out of memory when executing the unit test. The hs_err file says: Memory: 4k page, system-wide physical 29999M (2457M free) TotalPageFile size 34351M (AvailPageFile size 38M) current process WorkingSet (physical memory assigned to process): 11041M, peak: 11041M current process commit charge ("private bytes"): 11575M, peak: 11575M I think this is either a problem with that machine or the unit tests should be updated to guard against running out of memory. Moving this back to hotspot/runtime.
06-06-2019

ILW = HLM = P3 (WA: do not run with -Xcomp)
04-06-2019