--- old/src/hotspot/share/gc/z/zHeap.hpp 2018-01-16 19:52:47.244996151 +0900 +++ new/src/hotspot/share/gc/z/zHeap.hpp 2018-01-16 19:52:47.097993612 +0900 @@ -45,6 +45,8 @@ #include "memory/allocation.hpp" class ZHeap VALUE_OBJ_CLASS_SPEC { + friend class VMStructs; + private: static ZHeap* _heap;