src/hotspot/share/gc/z/zPageTable.cpp
changeset 58809 44dc3d796110
parent 54165 84295bd6d359
child 58810 3aba4a42d8ad
--- a/src/hotspot/share/gc/z/zPageTable.cpp	Sun Oct 27 12:13:51 2019 +0000
+++ b/src/hotspot/share/gc/z/zPageTable.cpp	Mon Oct 28 11:21:23 2019 +0100
@@ -23,6 +23,7 @@
 
 #include "precompiled.hpp"
 #include "gc/z/zAddress.inline.hpp"
+#include "gc/z/zGlobals.hpp"
 #include "gc/z/zGranuleMap.inline.hpp"
 #include "gc/z/zPage.inline.hpp"
 #include "gc/z/zPageTable.inline.hpp"
@@ -30,7 +31,7 @@
 #include "utilities/debug.hpp"
 
 ZPageTable::ZPageTable() :
-    _map() {}
+    _map(ZAddressOffsetMax) {}
 
 void ZPageTable::insert(ZPage* page) {
   const uintptr_t addr = ZAddress::good(page->start());