diff -r 77fb0be7d19f -r 4dd58ecc9912 src/hotspot/share/runtime/objectMonitor.cpp --- a/src/hotspot/share/runtime/objectMonitor.cpp Thu Mar 15 21:24:10 2018 +0100 +++ b/src/hotspot/share/runtime/objectMonitor.cpp Thu Mar 15 21:29:36 2018 +0100 @@ -37,6 +37,7 @@ #include "runtime/orderAccess.inline.hpp" #include "runtime/osThread.hpp" #include "runtime/safepointMechanism.inline.hpp" +#include "runtime/sharedRuntime.hpp" #include "runtime/stubRoutines.hpp" #include "runtime/thread.inline.hpp" #include "services/threadService.hpp"