hotspot/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
changeset 4458 075a9ef4e467
parent 3261 c7d5aae8d3f7
child 5547 f4b087cbb361
equal deleted inserted replaced
4457:f05d2dc1c332 4458:075a9ef4e467
    40 }
    40 }
    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, _gc_cause);
    46   g1h->do_collection_pause_at_safepoint();
    46   g1h->do_collection_pause_at_safepoint();
    47 }
    47 }
    48 
    48 
    49 void VM_CGC_Operation::doit() {
    49 void VM_CGC_Operation::doit() {
    50   gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps);
    50   gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps);