From 396e4e7a931e702443946650a09ad05d03480805 Mon Sep 17 00:00:00 2001 From: eapen1 Date: Sat, 7 Jun 2025 20:52:08 +0800 Subject: [PATCH] fix rpmbuild symbol not found --- hotspot/src/share/vm/jfr/periodic/jfrPeriodic.cpp | 1 + hotspot/src/share/vm/jprofilecache/jitProfileCacheDcmds.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/hotspot/src/share/vm/jfr/periodic/jfrPeriodic.cpp b/hotspot/src/share/vm/jfr/periodic/jfrPeriodic.cpp index 8b3e4ec7a..9486e29aa 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 d643d6f97..d5015df5c 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" -- Gitee