JDK-8182309 : [TESTBUG] GC locker test fails to allocate heap
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2017-06-15
  • Updated: 2017-10-02
  • Resolved: 2017-10-02
Related Reports
Relates :  
Description
gc/stress/gclocker/TestGCLockerWith... has been failing to allocate the heap at startup in the Hotspot nightlies. There seems to be plenty of free memory on the machines according to the logs. The test has variants for different GCs and both Parallel, Serial, and CMS seems to be failing in the same way:

Error occurred during initialization of VM
Could not reserve enough space for 1536000KB object heap

Comments
Proposed fix
02-10-2017

Actually those tests are trying to allocate 1.5GB of Java Heap and failing on 32 bit Win/Linux. Probably machines don't have continuous memory of 1.5GB.
23-06-2017