< prev index next >
src/share/vm/gc/shared/collectorPolicy.cpp
Print this page
rev 11777 : [mq]: gcinterface.patch
@@ -841,12 +841,12 @@
}
}
{ // Need lock to get self consistent gc_count's
MutexLocker ml(Heap_lock);
- gc_count = Universe::heap()->total_collections();
- full_gc_count = Universe::heap()->total_full_collections();
+ gc_count = GC::gc()->heap()->total_collections();
+ full_gc_count = GC::gc()->heap()->total_full_collections();
}
// Generate a VM operation
VM_CollectForMetadataAllocation op(loader_data,
word_size,
< prev index next >