Mercurial > hg > graal-compiler
diff src/share/vm/code/compiledIC.cpp @ 8776:41340544e182
8009248: [parfait] Null pointer deference in hotspot/src/share/vm/code/compiledIC.cpp
Summary: add guarantee() to set_to_interpreted()
Reviewed-by: kvn
author | morris |
---|---|
date | Wed, 20 Mar 2013 06:32:49 -0700 |
parents | 18fb7da42534 |
children | b9a918201d47 a6e09d6dd8e5 |
line wrap: on
line diff
--- a/src/share/vm/code/compiledIC.cpp Tue Mar 19 16:31:10 2013 -0700 +++ b/src/share/vm/code/compiledIC.cpp Wed Mar 20 06:32:49 2013 -0700 @@ -552,7 +552,7 @@ void CompiledStaticCall::set_to_interpreted(methodHandle callee, address entry) { address stub=find_stub(); - assert(stub!=NULL, "stub not found"); + guarantee(stub != NULL, "stub not found"); if (TraceICs) { ResourceMark rm;