# HG changeset patch # User hshi # Date 1476708283 25200 # Node ID 96e272c73d4af153b707d8a9f5d0607d0abcee5a # Parent cc32438a10038dd0d3f8812d36675319833afe77 8167421: AArch64: in one core system, fatal error: Illegal threadstate encountered Summary: adding missing thread state store when os::is_MP() is false Reviewed-by: aph diff -r cc32438a1003 -r 96e272c73d4a hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp --- a/hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp Tue Oct 18 19:08:24 2016 -0700 +++ b/hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp Mon Oct 17 05:44:43 2016 -0700 @@ -1962,6 +1962,8 @@ // due to cache line collision. __ serialize_memory(rthread, r2); } + } else { + __ strw(rscratch1, Address(rthread, JavaThread::thread_state_offset())); } // check for safepoint operation in progress and/or pending suspend requests