--- old/src/share/vm/opto/memnode.hpp 2016-04-01 00:36:13.000000000 +0300 +++ new/src/share/vm/opto/memnode.hpp 2016-04-01 00:36:13.000000000 +0300 @@ -1086,6 +1086,13 @@ virtual uint ideal_reg() const { return 0; } // not matched in the AD file }; +class OnSpinWaitNode: public MemBarNode { +public: + OnSpinWaitNode(Compile* C, int alias_idx, Node* precedent) + : MemBarNode(C, alias_idx, precedent) {} + virtual int Opcode() const; +}; + // Isolation of object setup after an AllocateNode and before next safepoint. // (See comment in memnode.cpp near InitializeNode::InitializeNode for semantics.) class InitializeNode: public MemBarNode {