Seeing error in one test on ARM: org.openjdk.jcstress.tests.volatiles.ReadTwiceOverVolatileReadTest
White, Derek
Derek.White at cavium.com
Thu Feb 23 15:48:59 UTC 2017
Yes, that was a surprise. Also, various recompilations of the three line actor2() method approached 4KB of code!
- Derek
-----Original Message-----
From: Andrew Haley [mailto:aph at redhat.com]
Sent: Thursday, February 23, 2017 9:53 AM
To: White, Derek <Derek.White at cavium.com>; jcstress-dev at openjdk.java.net
Subject: Re: Seeing error in one test on ARM: org.openjdk.jcstress.tests.volatiles.ReadTwiceOverVolatileReadTest
OK. I don't really understand why you are seeing code like that generated. I think it's worthy of investigation. In particular, I'd expect C1 to be using explicit fence instructions and C2 to be using ldar and stlr.
Andrew.
More information about the jcstress-dev
mailing list