[aarch64-port-dev ] RFR(XS): 8167421: AArch64: in one core system, fatal error: Illegal threadstate encountered

Felix Yang felix.yang at linaro.org
Tue Oct 18 12:51:55 UTC 2016


Hi,

    Thanks for fixing the bug.
    Is it OK to push this patch into repo: http://hg.openjdk.java.net/
jdk9/hs/hotspot for now?

Thanks,
Felix

On 17 October 2016 at 16:41, Andrew Haley <aph at redhat.com> wrote:

> 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