diff -r 65cad575ace3 -r bdf136b8ae0e src/hotspot/share/memory/metadataFactory.hpp --- a/src/hotspot/share/memory/metadataFactory.hpp Tue Sep 10 14:52:53 2019 +0800 +++ b/src/hotspot/share/memory/metadataFactory.hpp Tue Sep 10 09:24:05 2019 +0200 @@ -26,6 +26,8 @@ #define SHARE_MEMORY_METADATAFACTORY_HPP #include "classfile/classLoaderData.hpp" +#include "memory/metaspace/classLoaderMetaspace.hpp" +#include "memory/metaspace/metaspaceEnums.hpp" #include "oops/array.hpp" #include "utilities/exceptions.hpp" #include "utilities/globalDefinitions.hpp"