src/hotspot/share/gc/g1/heapRegionType.hpp
changeset 47602 d4380ee1cbe9
parent 47216 71c04702a3d5
child 49392 2956d0ece7a9
--- a/src/hotspot/share/gc/g1/heapRegionType.hpp	Sat Oct 07 22:42:35 2017 +0900
+++ b/src/hotspot/share/gc/g1/heapRegionType.hpp	Sat Oct 07 22:45:12 2017 +0900
@@ -32,6 +32,8 @@
   assert(is_valid((tag)), "invalid HR type: %u", (uint) (tag))
 
 class HeapRegionType VALUE_OBJ_CLASS_SPEC {
+friend class VMStructs;
+
 private:
   // We encode the value of the heap region type so the generation can be
   // determined quickly. The tag is split into two parts: