--- old/src/hotspot/share/gc/shared/gcVMOperations.cpp 2019-08-02 08:06:18.176403524 +0200 +++ new/src/hotspot/share/gc/shared/gcVMOperations.cpp 2019-08-02 08:06:17.808402698 +0200 @@ -32,6 +32,8 @@ #include "gc/shared/genCollectedHeap.hpp" #include "interpreter/oopMapCache.hpp" #include "logging/log.hpp" +#include "memory/metaspace/classLoaderMetaspace.hpp" +#include "memory/metaspace/metaspaceEnums.hpp" #include "memory/oopFactory.hpp" #include "memory/universe.hpp" #include "runtime/handles.inline.hpp" @@ -180,7 +182,7 @@ VM_CollectForMetadataAllocation::VM_CollectForMetadataAllocation(ClassLoaderData* loader_data, size_t size, - Metaspace::MetadataType mdtype, + metaspace::MetadataType mdtype, uint gc_count_before, uint full_gc_count_before, GCCause::Cause gc_cause)