(S) RFR: 8157904: Atomic::cmpxchg for jbyte is missing a fence on initial failure

Andrew Haley aph at redhat.com
Mon Aug 22 08:25:15 UTC 2016


On 22/08/16 08:54, David Holmes wrote:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8157904
> 
> webrev: http://cr.openjdk.java.net/~dholmes/8157904/webrev/

The casting away volatile is confusing and ugly.  Is the problem
that we don't have volatile cmpxchg() ?  Or that we don't have a
pointer_delta() which accepts a volatile?

Andrew.




More information about the hotspot-runtime-dev mailing list