diff --git a/hotspot/src/share/vm/jfr/periodic/jfrPeriodic.cpp b/hotspot/src/share/vm/jfr/periodic/jfrPeriodic.cpp index 8b3e4ec7a213242e4e41457e2d6b3446015cb872..9486e29aafa6c4616d6bb218593eda031d7be477 100644 --- a/hotspot/src/share/vm/jfr/periodic/jfrPeriodic.cpp +++ b/hotspot/src/share/vm/jfr/periodic/jfrPeriodic.cpp @@ -52,6 +52,7 @@ #include "runtime/thread.inline.hpp" #include "runtime/sweeper.hpp" #include "runtime/vmThread.hpp" +#include "runtime/deoptimization.hpp" #include "services/classLoadingService.hpp" #include "services/management.hpp" #include "services/threadService.hpp" diff --git a/hotspot/src/share/vm/jprofilecache/jitProfileCacheDcmds.cpp b/hotspot/src/share/vm/jprofilecache/jitProfileCacheDcmds.cpp index d643d6f97fa6304352f5329bdad805f0a6bec0c4..d5015df5c06dd160b8fdb3e1b7a4f3007eb8bfb1 100644 --- a/hotspot/src/share/vm/jprofilecache/jitProfileCacheDcmds.cpp +++ b/hotspot/src/share/vm/jprofilecache/jitProfileCacheDcmds.cpp @@ -13,6 +13,8 @@ #include "oops/oop.inline.hpp" #include "oops/symbol.hpp" #include "runtime/handles.inline.hpp" +#include "runtime/javaCalls.hpp" +#include "runtime/init.hpp" #include "services/diagnosticArgument.hpp" #include "services/diagnosticFramework.hpp" #include "utilities/globalDefinitions.hpp"