Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Currently defined as: src/hotspot/share/runtime/thread.inline.hpp: #if defined(PPC64) || defined (AARCH64) inline JavaThreadState JavaThread::thread_state() const { return (JavaThreadState) OrderAccess::load_acquire((volatile jint*)&_thread_state); } inline void JavaThread::set_thread_state(JavaThreadState s) { OrderAccess::release_store((volatile jint*)&_thread_state, (jint)s); } #endif ...which means it is compiled differently on AArch64 and PPC64, which is the source of multiple build failures going unnoticed when building x86_64 only. It would be easier to simplify this declaration. For example, move the #if into the method body: http://cr.openjdk.java.net/~shade/8218151/webrev.01/ (this builds fine on x86_64, aarch64, ppc64) Alternatively, move the definition to thread.hpp.
|