# HG changeset patch # User kvn # Date 1370033687 25200 # Node ID 83dcb116fdb18c2737a194904c028a8348034491 # Parent 28e5aed7f3a62fe9f7f8ef037f3decaa4450288c 8015441: runThese crashed with assert(opcode == Op_ConP || opcode == Op_ThreadLocal || opcode == Op_CastX2P ..) failed: sanity Summary: Relax the assert to accept any raw ptr types. Reviewed-by: roland diff -r 28e5aed7f3a6 -r 83dcb116fdb1 src/share/vm/opto/escape.cpp --- a/src/share/vm/opto/escape.cpp Fri May 31 14:40:26 2013 +0200 +++ b/src/share/vm/opto/escape.cpp Fri May 31 13:54:47 2013 -0700 @@ -2202,7 +2202,7 @@ int opcode = uncast_base->Opcode(); assert(opcode == Op_ConP || opcode == Op_ThreadLocal || opcode == Op_CastX2P || uncast_base->is_DecodeNarrowPtr() || - (uncast_base->is_Mem() && uncast_base->bottom_type() == TypeRawPtr::NOTNULL) || + (uncast_base->is_Mem() && (uncast_base->bottom_type()->isa_rawptr() != NULL)) || (uncast_base->is_Proj() && uncast_base->in(0)->is_Allocate()), "sanity"); } return base;