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"