It makes sense to assert more thoroughly in clear_* methods to avoid bugs like the one Zhengyu fixed recently: http://cr.openjdk.java.net/~shade/shenandoah/matrix-asserts-1/webrev.01/ Testing: hotspot_gc_shenandoah -Aleksey