United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8025441 : G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads

Details
Type:
Bug
Submit Date:
2013-09-25
Status:
Closed
Updated Date:
2014-07-07
Project Name:
JDK
Resolved Date:
2013-09-30
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs25
Fixed Versions:
hs25 (b53)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
VM crashes due to failed assertion "assert(thread < _num_vtimes) failed: just checking" when G1ConcRefinementThreads > ParallelGCThreads:

jdk1.8.0/fastdebug/bin/java -XX:+UseG1GC -XX:G1ConcRefinementThreads=2 -XX:ParallelGCThreads=1 -version

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/g1RemSetSummary.cpp:70
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/HUDSON/workspace/8-2-build-linux-amd64/jdk8/254/hotspot/src/share/vm/gc_implementation/g1/g1RemSetSummary.cpp:70), pid=12479, tid=139827559917312
#  assert(thread < _num_vtimes) failed: just checking
#
# JRE version:  (8.0-b108) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b50-fastdebug mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/8/hs_err_pid12479.log

                                    

Comments
Relevant stack trace:

V  [libjvm.so+0xc95a43]  VMError::report(outputStream*)+0x1127
V  [libjvm.so+0xc96f38]  VMError::report_and_die()+0x42c
V  [libjvm.so+0x628e33]  report_vm_error(char const*, int, char const*, char const*)+0xa5
V  [libjvm.so+0x733bc4]  G1RemSetSummary::set_rs_thread_vtime(unsigned int, double)+0x74
V  [libjvm.so+0x734a21]  GetRSThreadVTimeClosure::do_thread(Thread*)+0x4f
V  [libjvm.so+0x5d4502]  ConcurrentG1Refine::worker_threads_do(ThreadClosure*)+0x58
V  [libjvm.so+0x733b1b]  G1RemSetSummary::update()+0xb3
V  [libjvm.so+0x733d59]  G1RemSetSummary::initialize(G1RemSet*, unsigned int)+0xe1
V  [libjvm.so+0x730de6]  G1RemSet::G1RemSet(G1CollectedHeap*, CardTableModRefBS*)+0x1be
V  [libjvm.so+0x70324a]  G1CollectedHeap::initialize()+0x3d8
V  [libjvm.so+0xc5ec0b]  Universe::initialize_heap()+0x205
V  [libjvm.so+0xc5e65a]  universe_init()+0x67
V  [libjvm.so+0x7af009]  init_globals()+0x3d
V  [libjvm.so+0xc40e7c]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x294
V  [libjvm.so+0x898eef]  JNI_CreateJavaVM+0xaf
C  [libjli.so+0x703e]  JavaMain+0x9e

                                     
2013-09-25
Use of wrong number of threads in remembered set summary information: instead of using the number of concurrent refinement threads, the number of parallel gc threads were used.
                                     
2013-09-25
URL:   http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/7ec10139bf37
User:  tschatzl
Date:  2013-09-30 14:23:55 +0000

                                     
2013-09-30
URL:   http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/7ec10139bf37
User:  amurillo
Date:  2013-10-05 03:45:31 +0000

                                     
2013-10-05



Hardware and Software, Engineered to Work Together