http://cr.openjdk.java.net/~roland/cas-null/webrev/ Applying the read barrier to the expected value or the value retrieved from memory in the CAS can cause a crash if one of those is null. Roland.