equal
deleted
inserted
replaced
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "gc_implementation/g1/concurrentMarkThread.inline.hpp" |
26 #include "gc_implementation/g1/concurrentMarkThread.inline.hpp" |
27 #include "gc_implementation/g1/g1CollectedHeap.inline.hpp" |
27 #include "gc_implementation/g1/g1CollectedHeap.inline.hpp" |
28 #include "gc_implementation/g1/g1CollectorPolicy.hpp" |
28 #include "gc_implementation/g1/g1CollectorPolicy.hpp" |
|
29 #include "gc_implementation/g1/g1Log.hpp" |
29 #include "gc_implementation/g1/vm_operations_g1.hpp" |
30 #include "gc_implementation/g1/vm_operations_g1.hpp" |
30 #include "gc_implementation/shared/isGCActiveMark.hpp" |
31 #include "gc_implementation/shared/isGCActiveMark.hpp" |
31 #include "gc_implementation/g1/vm_operations_g1.hpp" |
32 #include "gc_implementation/g1/vm_operations_g1.hpp" |
32 #include "runtime/interfaceSupport.hpp" |
33 #include "runtime/interfaceSupport.hpp" |
33 |
34 |
221 ConcurrentMarkThread::slt()-> |
222 ConcurrentMarkThread::slt()-> |
222 manipulatePLL(SurrogateLockerThread::releaseAndNotifyPLL); |
223 manipulatePLL(SurrogateLockerThread::releaseAndNotifyPLL); |
223 } |
224 } |
224 |
225 |
225 void VM_CGC_Operation::doit() { |
226 void VM_CGC_Operation::doit() { |
226 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); |
227 gclog_or_tty->date_stamp(G1Log::fine() && PrintGCDateStamps); |
227 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); |
228 TraceCPUTime tcpu(G1Log::finer(), true, gclog_or_tty); |
228 TraceTime t(_printGCMessage, PrintGC, true, gclog_or_tty); |
229 TraceTime t(_printGCMessage, G1Log::fine(), true, gclog_or_tty); |
229 SharedHeap* sh = SharedHeap::heap(); |
230 SharedHeap* sh = SharedHeap::heap(); |
230 // This could go away if CollectedHeap gave access to _gc_is_active... |
231 // This could go away if CollectedHeap gave access to _gc_is_active... |
231 if (sh != NULL) { |
232 if (sh != NULL) { |
232 IsGCActiveMark x; |
233 IsGCActiveMark x; |
233 _cl->do_void(); |
234 _cl->do_void(); |