--- old/src/share/vm/opto/compile.cpp 2014-04-09 07:58:17.999662016 +0200 +++ new/src/share/vm/opto/compile.cpp 2014-04-09 07:58:17.919662012 +0200 @@ -3962,8 +3962,8 @@ worklist.push(root()); for (uint next = 0; next < worklist.size(); ++next) { Node *n = worklist.at(next); - const Type* t = igvn.type(n); - assert(t == t->remove_speculative(), "no more speculative types"); + const Type* t = igvn.type_or_null(n); + assert((t == NULL) || (t == t->remove_speculative()), "no more speculative types"); if (n->is_Type()) { t = n->as_Type()->type(); assert(t == t->remove_speculative(), "no more speculative types");