RFR (M): 8187977: Generalize Atomic::xchg to use templates

Erik Österlund erik.osterlund at oracle.com
Thu Sep 28 11:56:22 UTC 2017


Hi all,

The time has come to generalize more atomics.

I have modelled Atomic::xchg to systematically do what Atomic::cmpxchg
did but for xchg.

Bug:
https://bugs.openjdk.java.net/browse/JDK-8187977

Webrev:
http://cr.openjdk.java.net/~eosterlund/8187977/webrev.00/

Testing: mach5 hs-tier3 and JPRT

Thanks,
/Erik


More information about the hotspot-dev mailing list