--- old/src/hotspot/share/memory/metaspace.hpp 2018-03-12 22:05:06.276233872 -0400 +++ new/src/hotspot/share/memory/metaspace.hpp 2018-03-12 22:05:05.678178739 -0400 @@ -66,6 +66,7 @@ class PrintCLDMetaspaceInfoClosure; class SpaceManager; class VirtualSpaceList; +class CollectedHeap; // Metaspaces each have a SpaceManager and allocations // are done by the SpaceManager. Allocations are done