--- a/src/hotspot/share/gc/z/zHeapIterator.hpp Wed Mar 13 11:31:00 2019 +0100
+++ b/src/hotspot/share/gc/z/zHeapIterator.hpp Wed Mar 13 11:31:00 2019 +0100
@@ -24,11 +24,11 @@
#ifndef SHARE_GC_Z_ZHEAPITERATOR_HPP
#define SHARE_GC_Z_ZHEAPITERATOR_HPP
-#include "gc/z/zAddressRangeMap.hpp"
-#include "gc/z/zGlobals.hpp"
+#include "gc/z/zGranuleMap.hpp"
#include "memory/allocation.hpp"
#include "utilities/stack.hpp"
+class ObjectClosure;
class ZHeapIteratorBitMap;
class ZHeapIterator : public StackObj {
@@ -36,9 +36,9 @@
friend class ZHeapIteratorOopClosure;
private:
- typedef ZAddressRangeMap<ZHeapIteratorBitMap*, ZGranuleSizeShift> ZVisitMap;
- typedef ZAddressRangeMapIterator<ZHeapIteratorBitMap*, ZGranuleSizeShift> ZVisitMapIterator;
- typedef Stack<oop, mtGC> ZVisitStack;
+ typedef ZGranuleMap<ZHeapIteratorBitMap*> ZVisitMap;
+ typedef ZGranuleMapIterator<ZHeapIteratorBitMap*> ZVisitMapIterator;
+ typedef Stack<oop, mtGC> ZVisitStack;
ZVisitStack _visit_stack;
ZVisitMap _visit_map;