hotspot/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
changeset 4458 075a9ef4e467
parent 3261 c7d5aae8d3f7
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp	Thu Nov 19 10:19:19 2009 -0800
+++ b/hotspot/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp	Thu Nov 19 13:43:25 2009 -0800
@@ -42,7 +42,7 @@
 void VM_G1IncCollectionPause::doit() {
   JvmtiGCForAllocationMarker jgcm;
   G1CollectedHeap* g1h = G1CollectedHeap::heap();
-  GCCauseSetter x(g1h, GCCause::_g1_inc_collection_pause);
+  GCCauseSetter x(g1h, _gc_cause);
   g1h->do_collection_pause_at_safepoint();
 }