--- old/src/hotspot/share/gc/z/zHeap.hpp 2018-01-13 12:11:21.689090925 +0900 +++ new/src/hotspot/share/gc/z/zHeap.hpp 2018-01-13 12:11:21.412090175 +0900 @@ -45,6 +45,8 @@ #include "memory/allocation.hpp" class ZHeap VALUE_OBJ_CLASS_SPEC { + friend class VMStructs; + private: static ZHeap* _heap;