1.1 --- a/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp Sat Apr 07 09:06:55 2012 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp Fri Apr 13 01:59:38 2012 +0200 1.3 @@ -26,6 +26,7 @@ 1.4 #include "gc_implementation/g1/concurrentMarkThread.inline.hpp" 1.5 #include "gc_implementation/g1/g1CollectedHeap.inline.hpp" 1.6 #include "gc_implementation/g1/g1CollectorPolicy.hpp" 1.7 +#include "gc_implementation/g1/g1Log.hpp" 1.8 #include "gc_implementation/g1/vm_operations_g1.hpp" 1.9 #include "gc_implementation/shared/isGCActiveMark.hpp" 1.10 #include "gc_implementation/g1/vm_operations_g1.hpp" 1.11 @@ -223,9 +224,9 @@ 1.12 } 1.13 1.14 void VM_CGC_Operation::doit() { 1.15 - gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); 1.16 - TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); 1.17 - TraceTime t(_printGCMessage, PrintGC, true, gclog_or_tty); 1.18 + gclog_or_tty->date_stamp(G1Log::fine() && PrintGCDateStamps); 1.19 + TraceCPUTime tcpu(G1Log::finer(), true, gclog_or_tty); 1.20 + TraceTime t(_printGCMessage, G1Log::fine(), true, gclog_or_tty); 1.21 SharedHeap* sh = SharedHeap::heap(); 1.22 // This could go away if CollectedHeap gave access to _gc_is_active... 1.23 if (sh != NULL) {