--- old/src/hotspot/share/opto/classes.cpp 2018-06-01 22:29:56.257966477 +0200 +++ new/src/hotspot/share/opto/classes.cpp 2018-06-01 22:29:55.998955297 +0200 @@ -47,11 +47,16 @@ #include "opto/rootnode.hpp" #include "opto/subnode.hpp" #include "opto/vectornode.hpp" +#include "utilities/macros.hpp" +#if INCLUDE_ZGC +#include "gc/z/c2/zBarrierSetC2.hpp" +#endif // ---------------------------------------------------------------------------- // Build a table of virtual functions to map from Nodes to dense integer // opcode names. int Node::Opcode() const { return Op_Node; } #define macro(x) int x##Node::Opcode() const { return Op_##x; } +#define optionalmacro(x) #include "classes.hpp" #undef macro