Bug: https://bugs.openjdk.java.net/browse/JDK-8233021 See bug for explanation. Fix: http://cr.openjdk.java.net/~shade/8233021/webrev.01/ Testing: hotspot_gc_shenandoah; specjvm2008 with C2 verification turned on -- Thanks, -Aleksey