--- old/src/share/vm/opto/machnode.cpp 2014-11-12 15:39:55.000000000 +0400 +++ new/src/share/vm/opto/machnode.cpp 2014-11-12 15:39:55.000000000 +0400 @@ -561,7 +561,9 @@ const TypePtr *MachProjNode::adr_type() const { if (bottom_type() == Type::MEMORY) { // in(0) might be a narrow MemBar; otherwise we will report TypePtr::BOTTOM - const TypePtr* adr_type = in(0)->adr_type(); + Node* ctrl = in(0); + if (ctrl == NULL) return NULL; // node is dead + const TypePtr* adr_type = ctrl->adr_type(); #ifdef ASSERT if (!is_error_reported() && !Node::in_dump()) assert(adr_type != NULL, "source must have adr_type");