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"); |