diff -r ea43db53de91 -r ed12027517c0 src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp --- a/src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp Mon Jun 10 05:09:52 2019 +0200 +++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp Thu Feb 14 14:54:05 2019 +0100 @@ -912,8 +912,6 @@ } } -void ShenandoahBarrierSetC2::add_users_to_worklist(Unique_Node_List* worklist) const {} - void* ShenandoahBarrierSetC2::create_barrier_state(Arena* comp_arena) const { return new(comp_arena) ShenandoahBarrierSetC2State(comp_arena); } @@ -928,7 +926,7 @@ #ifdef ASSERT void ShenandoahBarrierSetC2::verify_gc_barriers(Compile* compile, CompilePhase phase) const { - if (ShenandoahVerifyOptoBarriers && phase == BarrierSetC2::BeforeExpand) { + if (ShenandoahVerifyOptoBarriers && phase == BarrierSetC2::BeforeMacroExpand) { ShenandoahBarrierC2Support::verify(Compile::current()->root()); } else if (phase == BarrierSetC2::BeforeCodeGen) { // Verify G1 pre-barriers