src/hotspot/share/memory/allocation.hpp
changeset 52514 f4e3900c8d08
parent 52314 e53af5fa0dae
child 53108 e90315ae8aa9
--- a/src/hotspot/share/memory/allocation.hpp	Tue Nov 13 21:43:10 2018 -0500
+++ b/src/hotspot/share/memory/allocation.hpp	Wed Nov 07 19:40:27 2018 -0800
@@ -244,6 +244,7 @@
 class MetaspaceClosure;
 
 class MetaspaceObj {
+  friend class VMStructs;
   // When CDS is enabled, all shared metaspace objects are mapped
   // into a single contiguous memory block, so we can use these
   // two pointers to quickly determine if something is in the