Mercurial > hg > graal-compiler
changeset 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 | 1275835a4ccc |
children | 2dec1d9bfbe1 |
files | src/share/vm/code/compiledIC.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;