< prev index next >

src/hotspot/share/opto/memnode.cpp

Print this page
@@ -3259,11 +3259,10 @@
    case Op_MemBarReleaseLock: return new MemBarReleaseLockNode(C, atp, pn);
    case Op_MemBarVolatile:    return new MemBarVolatileNode(C, atp, pn);
    case Op_MemBarCPUOrder:    return new MemBarCPUOrderNode(C, atp, pn);
    case Op_OnSpinWait:        return new OnSpinWaitNode(C, atp, pn);
    case Op_Initialize:        return new InitializeNode(C, atp, pn);
-   case Op_Blackhole:         return new BlackholeNode(C, atp, pn);
    default: ShouldNotReachHere(); return NULL;
    }
  }
  
  void MemBarNode::remove(PhaseIterGVN *igvn) {

@@ -3499,30 +3498,10 @@
           (mb->_kind == LeadingLoadStore && _kind == TrailingLoadStore), "bad leading membar");
    assert(mb->_pair_idx == _pair_idx, "bad leading membar");
    return mb;
  }
  
- #ifndef PRODUCT
- void BlackholeNode::format(PhaseRegAlloc* ra, outputStream* st) const {
-   st->print("blackhole ");
-   bool first = true;
-   for (uint i = 0; i < req(); i++) {
-     Node* n = in(i);
-     if (n != NULL && OptoReg::is_valid(ra->get_reg_first(n))) {
-       if (first) {
-         first = false;
-       } else {
-         st->print(", ");
-       }
-       char buf[128];
-       ra->dump_register(n, buf);
-       st->print("%s", buf);
-     }
-   }
-   st->cr();
- }
- #endif
  
  //===========================InitializeNode====================================
  // SUMMARY:
  // This node acts as a memory barrier on raw memory, after some raw stores.
  // The 'cooked' oop value feeds from the Initialize, not the Allocation.
< prev index next >