Mercurial > hg > graal-jvmci-8
diff src/share/vm/code/nmethod.cpp @ 1250:3f5b7efb9642
6920293: OptimizeStringConcat causing core dumps
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Fri, 05 Feb 2010 11:07:40 -0800 |
parents | 87684f1a88b5 |
children | f70b0d9ab095 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Thu Feb 04 11:16:23 2010 -0800 +++ b/src/share/vm/code/nmethod.cpp Fri Feb 05 11:07:40 2010 -0800 @@ -2010,7 +2010,10 @@ print_pcs(); } #endif - guarantee(cont_offset != 0, "unhandled implicit exception in compiled code"); + if (cont_offset == 0) { + // Let the normal error handling report the exception + return NULL; + } return instructions_begin() + cont_offset; }