From 75dd75d7859db7973a8ce05c4cf65de2feb7374c Mon Sep 17 00:00:00 2001 From: Evgeny Astigeevich Date: Tue, 9 Jun 2026 14:37:57 +0000 Subject: [PATCH] Move includes inside HPP guard --- src/hotspot/share/runtime/hotCodeSampler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/share/runtime/hotCodeSampler.hpp b/src/hotspot/share/runtime/hotCodeSampler.hpp index 44aa3527173..2a96f0ded28 100644 --- a/src/hotspot/share/runtime/hotCodeSampler.hpp +++ b/src/hotspot/share/runtime/hotCodeSampler.hpp @@ -22,13 +22,13 @@ * */ -#include "runtime/mutex.hpp" -#include "runtime/mutexLocker.hpp" #ifdef COMPILER2 #ifndef SHARE_RUNTIME_HOTCODESAMPLER_HPP #define SHARE_RUNTIME_HOTCODESAMPLER_HPP #include "runtime/javaThread.hpp" +#include "runtime/mutex.hpp" +#include "runtime/mutexLocker.hpp" #include "runtime/suspendedThreadTask.hpp" #include "runtime/threadSMR.hpp" #include "utilities/pair.hpp"