8009248: [parfait] Null pointer deference in hotspot/src/share/vm/code/compiledIC.cpp
authormorris
Wed, 20 Mar 2013 06:32:49 -0700
changeset 16377 3318d3edbf87
parent 16376 19dd2d7d68b3
child 16378 453b42d22a85
8009248: [parfait] Null pointer deference in hotspot/src/share/vm/code/compiledIC.cpp Summary: add guarantee() to set_to_interpreted() Reviewed-by: kvn
hotspot/src/share/vm/code/compiledIC.cpp
--- a/hotspot/src/share/vm/code/compiledIC.cpp	Tue Mar 19 16:31:10 2013 -0700
+++ b/hotspot/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;