[aarch64-port-dev ] RFR(XS): 8167421: AArch64: in one core system, fatal error: Illegal threadstate encountered
Andrew Haley
aph at redhat.com
Mon Oct 17 08:41:34 UTC 2016
On 16/10/16 21:50, David Holmes wrote:
> including the difference between using DSB and DMB for the barrier?
DSB was a mistake. I wrote this code before I understood the
difference between DSB and DSB; only DMB is needed here. The
documentation we had was rather thin on detail Also, the line above
which changes thread_state uses STLRW, a fully sequentially-consistent
store, so I don't think that any of the code within os::is_MP() is
needed at all.
I have noticed these anomalies before, but didn't do anything because
it's delicate code and very difficult to test. This might be a good
time to correct both versions.
Andrew.
More information about the aarch64-port-dev
mailing list