--- a/hotspot/src/share/vm/gc/g1/g1MarkSweep.hpp Thu Dec 10 15:27:16 2015 +0100
+++ b/hotspot/src/share/vm/gc/g1/g1MarkSweep.hpp Fri Dec 11 13:48:52 2015 +0100
@@ -92,7 +92,7 @@
G1CollectedHeap* _g1h;
ModRefBarrierSet* _mrbs;
CompactPoint _cp;
- HeapRegionSetCount _humongous_regions_removed;
+ uint _humongous_regions_removed;
virtual void prepare_for_compaction(HeapRegion* hr, HeapWord* end);
void prepare_for_compaction_work(CompactPoint* cp, HeapRegion* hr, HeapWord* end);
@@ -103,7 +103,7 @@
G1PrepareCompactClosure() :
_g1h(G1CollectedHeap::heap()),
_mrbs(_g1h->g1_barrier_set()),
- _humongous_regions_removed() { }
+ _humongous_regions_removed(0) { }
void update_sets();
bool doHeapRegion(HeapRegion* hr);