changeset 30173 | 13cf7580b000 |
parent 29794 | 2dcbd946f9a8 |
--- a/hotspot/src/share/vm/memory/collectorPolicy.cpp Fri Apr 10 13:58:36 2015 +0200 +++ b/hotspot/src/share/vm/memory/collectorPolicy.cpp Mon Apr 13 15:47:48 2015 +0200 @@ -669,7 +669,7 @@ } // Read the gc count while the heap lock is held. - gc_count_before = Universe::heap()->total_collections(); + gc_count_before = gch->total_collections(); } VM_GenCollectForAllocation op(size, is_tlab, gc_count_before);