Testing hotspot's Atomic::cmpxchg(jbyte*) ?

Aleksey Shipilev aleksey.shipilev at gmail.com
Fri Aug 19 06:34:35 UTC 2016


On 08/19/2016 09:31 AM, Aleksey Shipilev wrote:
> Now it might be cleaner to ditch Java version from Unsafe, and make
> native entry points like Unsafe_CompareAnd{Exchange,Swap}{Byte,Short}
> which would call relevant Atomic::cmpxchg-s.

...or not. There is no Atomic::cmpxchg(jshort), argh.

Thanks,
-Aleksey




More information about the core-libs-dev mailing list