comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 1390:f9ec1e4bbb44

6939027: G1: assertion failure during the concurrent phase of cleanup Summary: The outgoing region map is not maintained properly and it's causing an assert failure. Given that we don't actually use it, I'm removing it. I'm piggy-backing a small change on this which removes a message that it's printed before a Full GC when DisableExplicitGC is set. Reviewed-by: apetrusenko, ysr
author tonyp
date Thu, 15 Apr 2010 18:45:30 -0400
parents 5dbd9300cf9c
children 79e419e5ea3b
comparison
equal deleted inserted replaced
1389:5dbd9300cf9c 1390:f9ec1e4bbb44
911 if (PrintHeapAtGC) { 911 if (PrintHeapAtGC) {
912 Universe::print_heap_before_gc(); 912 Universe::print_heap_before_gc();
913 } 913 }
914 914
915 if (full && DisableExplicitGC) { 915 if (full && DisableExplicitGC) {
916 gclog_or_tty->print("\n\n\nDisabling Explicit GC\n\n\n");
917 return; 916 return;
918 } 917 }
919 918
920 assert(SafepointSynchronize::is_at_safepoint(), "should be at safepoint"); 919 assert(SafepointSynchronize::is_at_safepoint(), "should be at safepoint");
921 assert(Thread::current() == VMThread::vm_thread(), "should be in vm thread"); 920 assert(Thread::current() == VMThread::vm_thread(), "should be in vm thread");