Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
8775:1275835a4ccc | 8776:41340544e182 |
---|---|
550 } | 550 } |
551 | 551 |
552 | 552 |
553 void CompiledStaticCall::set_to_interpreted(methodHandle callee, address entry) { | 553 void CompiledStaticCall::set_to_interpreted(methodHandle callee, address entry) { |
554 address stub=find_stub(); | 554 address stub=find_stub(); |
555 assert(stub!=NULL, "stub not found"); | 555 guarantee(stub != NULL, "stub not found"); |
556 | 556 |
557 if (TraceICs) { | 557 if (TraceICs) { |
558 ResourceMark rm; | 558 ResourceMark rm; |
559 tty->print_cr("CompiledStaticCall@" INTPTR_FORMAT ": set_to_interpreted %s", | 559 tty->print_cr("CompiledStaticCall@" INTPTR_FORMAT ": set_to_interpreted %s", |
560 instruction_address(), | 560 instruction_address(), |