comparison src/share/vm/gc_implementation/g1/vm_operations_g1.cpp @ 677:96b229c54d1e

6543938: G1: remove the concept of popularity Reviewed-by: iveresov, tonyp
author apetrusenko
date Wed, 25 Mar 2009 13:10:54 -0700
parents 37f87013dfd8
children bd02caa94611
comparison
equal deleted inserted replaced
649:59f139e8a8d1 677:96b229c54d1e
41 41
42 void VM_G1IncCollectionPause::doit() { 42 void VM_G1IncCollectionPause::doit() {
43 JvmtiGCForAllocationMarker jgcm; 43 JvmtiGCForAllocationMarker jgcm;
44 G1CollectedHeap* g1h = G1CollectedHeap::heap(); 44 G1CollectedHeap* g1h = G1CollectedHeap::heap();
45 GCCauseSetter x(g1h, GCCause::_g1_inc_collection_pause); 45 GCCauseSetter x(g1h, GCCause::_g1_inc_collection_pause);
46 g1h->do_collection_pause_at_safepoint(NULL); 46 g1h->do_collection_pause_at_safepoint();
47 } 47 }
48
49 void VM_G1PopRegionCollectionPause::doit() {
50 JvmtiGCForAllocationMarker jgcm;
51 G1CollectedHeap* g1h = G1CollectedHeap::heap();
52 g1h->do_collection_pause_at_safepoint(_pop_region);
53 }
54
55 48
56 void VM_CGC_Operation::doit() { 49 void VM_CGC_Operation::doit() {
57 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); 50 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps);
58 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); 51 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty);
59 TraceTime t(_printGCMessage, PrintGC, true, gclog_or_tty); 52 TraceTime t(_printGCMessage, PrintGC, true, gclog_or_tty);