--- old/src/hotspot/share/gc/shared/c2/barrierSetC2.hpp 2018-11-12 20:24:04.524770188 +0100 +++ new/src/hotspot/share/gc/shared/c2/barrierSetC2.hpp 2018-11-12 20:24:04.363770976 +0100 @@ -28,6 +28,7 @@ #include "memory/allocation.hpp" #include "oops/accessDecorators.hpp" #include "opto/loopnode.hpp" +#include "opto/matcher.hpp" #include "opto/memnode.hpp" #include "utilities/globalDefinitions.hpp" @@ -291,6 +292,9 @@ virtual bool final_graph_reshaping(Compile* compile, Node* n, uint opcode) const { return false; } + virtual bool matcher_find_shared_visit(Matcher* matcher, Matcher::MStack& mstack, Node* n, uint opcode, bool& mem_op, int& mem_addr_idx) const { return false; }; + virtual bool matcher_find_shared_post_visit(Matcher* matcher, Node* n, uint opcode) const { return false; }; + virtual bool matcher_is_store_load_barrier(Node* x, uint xop) const { return false; } }; #endif // SHARE_GC_SHARED_C2_BARRIERSETC2_HPP