http://cr.openjdk.java.net/~shade/shenandoah/storeval-cond-better/webrev.01/ We want the same thing we have with other barriers: if associated flag is disabled, we do not even enter the *_impl method. Testing: hotspot_gc_shenandoah Thanks, -Aleksey