# HG changeset patch # User shade # Date 1557237876 -7200 # Node ID bdccc8c06ac7100a12c68ba91b362fa7790c6d9e # Parent 0dcb89221c9360e4b3dec8a5d15e5be99ce03b15 8223448: Shenandoah disabled barriers blocks omit LRB Reviewed-by: rkennke diff -r 0dcb89221c93 -r bdccc8c06ac7 src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp --- a/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp Tue May 07 06:58:55 2019 -0700 +++ b/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp Tue May 07 16:04:36 2019 +0200 @@ -45,6 +45,7 @@ FLAG_SET_DEFAULT(ShenandoahGCHeuristics, "passive"); FLAG_SET_DEFAULT(ShenandoahSATBBarrier, false); + FLAG_SET_DEFAULT(ShenandoahLoadRefBarrier, false); FLAG_SET_DEFAULT(ShenandoahKeepAliveBarrier, false); FLAG_SET_DEFAULT(ShenandoahStoreValEnqueueBarrier, false); FLAG_SET_DEFAULT(ShenandoahCASBarrier, false); @@ -106,6 +107,7 @@ // C2 barrier verification is only reliable when all default barriers are enabled if (ShenandoahVerifyOptoBarriers && (!FLAG_IS_DEFAULT(ShenandoahSATBBarrier) || + !FLAG_IS_DEFAULT(ShenandoahLoadRefBarrier) || !FLAG_IS_DEFAULT(ShenandoahKeepAliveBarrier) || !FLAG_IS_DEFAULT(ShenandoahStoreValEnqueueBarrier) || !FLAG_IS_DEFAULT(ShenandoahCASBarrier) ||