1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp Sat Mar 23 09:16:37 2013 +0100 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp Tue Apr 02 10:03:02 2013 +0200 1.3 @@ -256,7 +256,7 @@ 1.4 } 1.5 1.6 if (PrintGC && Verbose) { 1.7 - if (success && GC_locker::is_active()) { 1.8 + if (success && GC_locker::is_active_and_needs_gc()) { 1.9 gclog_or_tty->print_cr("Garbage collection disabled, expanded heap instead"); 1.10 } 1.11 }