hg: jdk7/hotspot-gc/hotspot: 7034139: G1: assert(Thread::current()->is_ConcurrentGC_thread()) failed: only a conc GC thread can call this.
tony.printezis at oracle.com
tony.printezis at oracle.com
Fri Apr 29 19:32:08 UTC 2011
Changeset: cd8e33b2a8ad
Author: tonyp
Date: 2011-04-29 12:40 -0400
URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/cd8e33b2a8ad
7034139: G1: assert(Thread::current()->is_ConcurrentGC_thread()) failed: only a conc GC thread can call this.
Summary: We were calling STS join and leave during a STW pause and we are not suppoesed to. I now only call those during concurrent phase. I also added stress code in the non-product builds to force an overflows (the condition that ws uncovering the bug) to make sure it does not happen again.
Reviewed-by: johnc, brutisso
! src/share/vm/gc_implementation/g1/concurrentMark.cpp
! src/share/vm/gc_implementation/g1/concurrentMark.hpp
! src/share/vm/gc_implementation/g1/g1_globals.hpp
More information about the hotspot-gc-dev
mailing list