src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.hpp
changeset 55307 ed12027517c0
parent 55076 785a12e0f89b
child 55394 b444bbe5c45c
equal deleted inserted replaced
55306:ea43db53de91 55307:ed12027517c0
   124   virtual void register_potential_barrier_node(Node* node) const;
   124   virtual void register_potential_barrier_node(Node* node) const;
   125   virtual void unregister_potential_barrier_node(Node* node) const;
   125   virtual void unregister_potential_barrier_node(Node* node) const;
   126   virtual void eliminate_gc_barrier(PhaseMacroExpand* macro, Node* node) const;
   126   virtual void eliminate_gc_barrier(PhaseMacroExpand* macro, Node* node) const;
   127   virtual void enqueue_useful_gc_barrier(PhaseIterGVN* igvn, Node* node) const;
   127   virtual void enqueue_useful_gc_barrier(PhaseIterGVN* igvn, Node* node) const;
   128   virtual void eliminate_useless_gc_barriers(Unique_Node_List &useful, Compile* C) const;
   128   virtual void eliminate_useless_gc_barriers(Unique_Node_List &useful, Compile* C) const;
   129   virtual void add_users_to_worklist(Unique_Node_List* worklist) const;
       
   130 
   129 
   131   // Allow barrier sets to have shared state that is preserved across a compilation unit.
   130   // Allow barrier sets to have shared state that is preserved across a compilation unit.
   132   // This could for example comprise macro nodes to be expanded during macro expansion.
   131   // This could for example comprise macro nodes to be expanded during macro expansion.
   133   virtual void* create_barrier_state(Arena* comp_arena) const;
   132   virtual void* create_barrier_state(Arena* comp_arena) const;
   134   // If the BarrierSetC2 state has kept macro nodes in its compilation unit state to be
   133   // If the BarrierSetC2 state has kept macro nodes in its compilation unit state to be