Relates :
|
JDK-8150921 introduced a new MemoryAccess helper class in unsafe.cpp for handling the various Unsafe memory accesses, wrapping them in t->doing_unsafe_access() calls if needed, normalizing the stored values, etc. The CompareAndExchange and CompareAndSwap intrinsics should also leverage the MemoryAccess class.
|