What the Hell is GetOpaque in Java
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Java's getOpaque and setOpaque methods provide program-order guarantees for operations on the same variable but no memory ordering effects between threads for different variables. Unlike volatile or acquire-release semantics, opaque mode allows reordering with operations on other variables, making it equivalent to C++ relaxed
Sort: