The VM crashes when -XX:+G1UseScanOnlyPrefix -XX:G1YoungGenSize=120M are used.
The are 2 variants of crahse both are below:
;; Using jvm: "/net/jse-st01.russia/export4/java/re/jdk/7/promoted/ea/b84/binaries/linux-x64/fastdebug/jre/lib/amd64/server/libjvm.so"
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/gc_implementation/g1/survRateGroup.cpp:168), pid=17196, tid=140183800264976
#  Error: guarantee(scan_only_prefix <= _region_num,"pre-condition")
#
# JRE version: 7.0-b84
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b09-fastdebug mixed mode linux-amd64 compressed oops)
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
---------------  T H R E A D  ---------------
Current thread (0x00007f7f180b6800):  VMThread [stack: 0x00007f7f158e3000,0x00007f7f159e4000] [id=17212]
Stack: [0x00007f7f158e3000,0x00007f7f159e4000],  sp=0x00007f7f159e26e0,  free space=3fd0000000000000018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xa061af];;  VMError::report(outputStream*)+0x138f
V  [libjvm.so+0xa0654a];;  VMError::report_and_die()+0x2da
V  [libjvm.so+0x462a2e];;  report_fatal(char const*, int, char const*)+0x6e
V  [libjvm.so+0x960e74];;  SurvRateGroup::record_scan_only_prefix(unsigned long)+0x34
V  [libjvm.so+0x512751];;  G1CollectorPolicy::record_collection_pause_start(double, unsigned long)+0x1e1
V  [libjvm.so+0x500b9a];;  G1CollectedHeap::do_collection_pause_at_safepoint()+0x5fa
V  [libjvm.so+0xa22bba];;  VM_G1IncCollectionPause::doit()+0xca
V  [libjvm.so+0xa21adf];;  VM_Operation::evaluate()+0x8f
V  [libjvm.so+0xa1fc10];;  VMThread::evaluate_operation(VM_Operation*)+0xc0
V  [libjvm.so+0xa205ab];;  VMThread::loop()+0x24b
V  [libjvm.so+0xa20afe];;  VMThread::run()+0xae
V  [libjvm.so+0x83b380];;  java_start(Thread*)+0xf0
The second is:
;; Using jvm: "/net/jse-st01.russia/export4/java/re/jdk/7/promoted/ea/b84/binaries/linux-x64/fastdebug/jre/lib/amd64/server/libjvm.so"
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/gc_implementation/g1/survRateGroup.cpp:168), pid=17196, tid=140183800264976
#  Error: guarantee(scan_only_prefix <= _region_num,"pre-condition")
#
# JRE version: 7.0-b84
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b09-fastdebug mixed mode linux-amd64 compressed oops)
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
---------------  T H R E A D  ---------------
Current thread (0x00007f7f180b6800):  VMThread [stack: 0x00007f7f158e3000,0x00007f7f159e4000] [id=17212]
Stack: [0x00007f7f158e3000,0x00007f7f159e4000],  sp=0x00007f7f159e26e0,  free space=3fd0000000000000018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xa061af];;  VMError::report(outputStream*)+0x138f
V  [libjvm.so+0xa0654a];;  VMError::report_and_die()+0x2da
V  [libjvm.so+0x462a2e];;  report_fatal(char const*, int, char const*)+0x6e
V  [libjvm.so+0x960e74];;  SurvRateGroup::record_scan_only_prefix(unsigned long)+0x34
V  [libjvm.so+0x512751];;  G1CollectorPolicy::record_collection_pause_start(double, unsigned long)+0x1e1
V  [libjvm.so+0x500b9a];;  G1CollectedHeap::do_collection_pause_at_safepoint()+0x5fa
V  [libjvm.so+0xa22bba];;  VM_G1IncCollectionPause::doit()+0xca
V  [libjvm.so+0xa21adf];;  VM_Operation::evaluate()+0x8f
V  [libjvm.so+0xa1fc10];;  VMThread::evaluate_operation(VM_Operation*)+0xc0
V  [libjvm.so+0xa205ab];;  VMThread::loop()+0x24b
V  [libjvm.so+0xa20afe];;  VMThread::run()+0xae
V  [libjvm.so+0x83b380];;  java_start(Thread*)+0xf0