< prev index next >

src/hotspot/share/gc/shared/c2/barrierSetC2.hpp

Print this page
@@ -343,13 +343,16 @@
    // This is used to guide heuristics in C2, e.g. whether to unroll a loop.
    virtual uint estimated_barrier_size(const Node* node) const { return 0; }
    // Whether the given store can be used to initialize a newly allocated object.
    virtual bool can_initialize_object(const StoreNode* store) const { return true; }
  
+   virtual void final_refinement(Compile* C) const {};
+ 
    enum CompilePhase {
      BeforeOptimize,
      BeforeMacroExpand,
+     AfterOptimize,
      BeforeCodeGen
    };
  
  #ifdef ASSERT
    virtual void verify_gc_barriers(Compile* compile, CompilePhase phase) const {}
< prev index next >