The test in attachment (same for CR6910182) could cause CMS crash with assertion:
# after -XX: or in .hotspotrc: SuppressErrorAt=/concurrentMarkSweepGeneration.hpp:269
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp:269), pid=1557, tid=2867215248
# Error: assert(_index < capacity(),"_index out of bounds")
#
# JRE version: 7.0-b77
# Java VM: Java HotSpot(TM) Server VM (17.0-b05-fastdebug mixed mode linux-x86 )
# An error report file with more information is saved as:
# /home/lm153972/ws/cms/file/hs_err_pid1557.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 2867215248
Dumping core ...
I appeares on the 32bit linux:
java -version:
java version "1.7.0-ea-fastdebug"
Java(TM) SE Runtime Environment (build 1.7.0-ea-fastdebug-b77)
Java HotSpot(TM) Server VM (build 17.0-b05-fastdebug, mixed mode)
I run it with reduced YoungGen (to provoke CMS) like below:
/net/vmsqe.russia/export/jdk/7/build/latest/linux-i586/fastdebug/bin/java -server -Xmn200K -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC crash_concurrentMarkSweepGeneration_5362 | grep -v ParNew
It does not crash each time sometimes.
gc.gctests.ReferencesGC.ReferencesGC