< prev index next >

src/hotspot/share/opto/compile.cpp

Print this page
@@ -867,12 +867,19 @@
    if (should_print_ideal()) {
      print_ideal_ir("PrintIdeal");
    }
  #endif
  
- #ifdef ASSERT
    BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
+ 
+ #ifdef ASSERT
+   bs->verify_gc_barriers(this, BarrierSetC2::AfterOptimize);
+ #endif
+ 
+   bs->final_refinement(this);
+ 
+ #ifdef ASSERT
    bs->verify_gc_barriers(this, BarrierSetC2::BeforeCodeGen);
  #endif
  
    // Dump compilation data to replay it.
    if (directive->DumpReplayOption) {
< prev index next >