--- a/src/hotspot/share/gc/shared/gcLocker.inline.hpp Tue Jun 18 10:54:00 2019 +0900
+++ b/src/hotspot/share/gc/shared/gcLocker.inline.hpp Tue Jun 18 11:06:29 2019 +0200
@@ -26,7 +26,7 @@
#define SHARE_GC_SHARED_GCLOCKER_INLINE_HPP
#include "gc/shared/gcLocker.hpp"
-#include "runtime/thread.hpp"
+#include "runtime/thread.inline.hpp"
void GCLocker::lock_critical(JavaThread* thread) {
if (!thread->in_critical()) {
--- a/src/hotspot/share/runtime/vframe.inline.hpp Tue Jun 18 10:54:00 2019 +0900
+++ b/src/hotspot/share/runtime/vframe.inline.hpp Tue Jun 18 11:06:29 2019 +0200
@@ -26,6 +26,7 @@
#define SHARE_RUNTIME_VFRAME_INLINE_HPP
#include "runtime/frame.inline.hpp"
+#include "runtime/thread.inline.hpp"
#include "runtime/vframe.hpp"
inline vframeStreamCommon::vframeStreamCommon(JavaThread* thread) : _reg_map(thread, false) {