7102657: JSR 292: C1 deoptimizes unlinked invokedynamic call sites infinitely

Reviewed-by: never, bdelsart
This commit is contained in:
Christian Thalinger 2011-10-27 04:43:37 -07:00
parent 669fa7396d
commit 6d1f314a4b
7 changed files with 55 additions and 5 deletions

View file

@ -367,10 +367,10 @@ void PatchingStub::emit_code(LIR_Assembler* ce) {
void DeoptimizeStub::emit_code(LIR_Assembler* ce) {
__ bind(_entry);
__ call(SharedRuntime::deopt_blob()->unpack_with_reexecution());
__ call(Runtime1::entry_for(Runtime1::deoptimize_id), relocInfo::runtime_call_type);
__ delayed()->nop();
ce->add_call_info_here(_info);
debug_only(__ should_not_reach_here());
DEBUG_ONLY(__ should_not_reach_here());
}