8009248: [parfait] Null pointer deference in hotspot/src/share/vm/code/compiledIC.cpp

Add guarantee() to set_to_interpreted()

Reviewed-by: kvn
This commit is contained in:
Morris Meyer 2013-03-20 06:32:49 -07:00
parent c3114a34ee
commit eaa8ade37a

View File

@ -552,7 +552,7 @@ bool CompiledStaticCall::is_call_to_interpreted() const {
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;