RFR (T) 8214787: Zero builds fail with "undefined JavaThread::thread_state()"

Aleksey Shipilev shade at redhat.com
Tue Dec 4 14:24:13 UTC 2018


Bug:
  https://bugs.openjdk.java.net/browse/JDK-8214787

This currently fails with aarch64-zero and ppc64el-zero.

Fix:

diff -r 981eb3c1b90d src/hotspot/cpu/zero/stack_zero.cpp
--- a/src/hotspot/cpu/zero/stack_zero.cpp Tue Dec 04 07:06:38 2018 -0500
+++ b/src/hotspot/cpu/zero/stack_zero.cpp Tue Dec 04 15:18:29 2018 +0100
@@ -24,11 +24,11 @@
  */

 #include "precompiled.hpp"
 #include "interpreter/bytecodeInterpreter.hpp"
 #include "interpreter/interpreterRuntime.hpp"
-#include "runtime/thread.hpp"
+#include "runtime/thread.inline.hpp"
 #include "stack_zero.hpp"
 #include "stack_zero.inline.hpp"
 #include "runtime/frame.inline.hpp"
 #include "utilities/align.hpp"

This is similar to related fix we did before:
  http://hg.openjdk.java.net/jdk/jdk/rev/78c21c351b90

Thanks,
-Aleksey



More information about the hotspot-dev mailing list