http://cr.openjdk.java.net/~shade/shenandoah/c2-protect-1/webrev.01/ Should be self-obvious. We have this code in sh/jdk9 and sh/jdk8u, but not in sh/jdk10. And G1 may enter those paths without the checks! Testing: hotspot_gc_shenandoah Thanks, -Aleksey