src/hotspot/share/gc/z/zForwardingTable.cpp
changeset 58809 44dc3d796110
parent 54163 790679f86a51
child 58810 3aba4a42d8ad
--- a/src/hotspot/share/gc/z/zForwardingTable.cpp	Sun Oct 27 12:13:51 2019 +0000
+++ b/src/hotspot/share/gc/z/zForwardingTable.cpp	Mon Oct 28 11:21:23 2019 +0100
@@ -25,11 +25,12 @@
 #include "gc/z/zAddress.inline.hpp"
 #include "gc/z/zForwarding.inline.hpp"
 #include "gc/z/zForwardingTable.inline.hpp"
+#include "gc/z/zGlobals.hpp"
 #include "gc/z/zGranuleMap.inline.hpp"
 #include "utilities/debug.hpp"
 
 ZForwardingTable::ZForwardingTable() :
-    _map() {}
+    _map(ZAddressOffsetMax) {}
 
 void ZForwardingTable::insert(ZForwarding* forwarding) {
   const uintptr_t addr = ZAddress::good(forwarding->start());