comparison src/hotspot/share/gc/z/c2/zBarrierSetC2.hpp @ 52036:5d6d636cefff

8211776: 8210887 broke arraycopy optimization when ZGC is enabled Reviewed-by: kvn
author roland
date Fri, 05 Oct 2018 16:47:27 +0200
parents 2ef304ee001d
children 4f2215a00ed1
comparison
equal deleted inserted replaced
3:ae3199fc2419 4:521831a1e05e
192 virtual void eliminate_useless_gc_barriers(Unique_Node_List &useful) const; 192 virtual void eliminate_useless_gc_barriers(Unique_Node_List &useful) const;
193 virtual void add_users_to_worklist(Unique_Node_List* worklist) const; 193 virtual void add_users_to_worklist(Unique_Node_List* worklist) const;
194 virtual void enqueue_useful_gc_barrier(Unique_Node_List &worklist, Node* node) const; 194 virtual void enqueue_useful_gc_barrier(Unique_Node_List &worklist, Node* node) const;
195 virtual void register_potential_barrier_node(Node* node) const; 195 virtual void register_potential_barrier_node(Node* node) const;
196 virtual void unregister_potential_barrier_node(Node* node) const; 196 virtual void unregister_potential_barrier_node(Node* node) const;
197 virtual bool array_copy_requires_gc_barriers(bool tightly_coupled_alloc, BasicType type, bool is_clone, ArrayCopyPhase phase) const { return true; } 197 virtual bool array_copy_requires_gc_barriers(bool tightly_coupled_alloc, BasicType type, bool is_clone, ArrayCopyPhase phase) const;
198 virtual Node* step_over_gc_barrier(Node* c) const; 198 virtual Node* step_over_gc_barrier(Node* c) const;
199 // If the BarrierSetC2 state has kept macro nodes in its compilation unit state to be 199 // If the BarrierSetC2 state has kept macro nodes in its compilation unit state to be
200 // expanded later, then now is the time to do so. 200 // expanded later, then now is the time to do so.
201 virtual bool expand_macro_nodes(PhaseMacroExpand* macro) const; 201 virtual bool expand_macro_nodes(PhaseMacroExpand* macro) const;
202 202