src/cpu/x86/vm/c1_CodeStubs_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hs-comp Cdiff src/cpu/x86/vm/c1_CodeStubs_x86.cpp

src/cpu/x86/vm/c1_CodeStubs_x86.cpp

Print this page
rev 6355 : 8031475: Missing oopmap in patching stub
Reviewed-by:

*** 410,419 **** --- 410,420 ---- if (CommentedAssembly) { __ block_comment("patch entry point"); } __ call(RuntimeAddress(target)); assert(_patch_info_offset == (patch_info_pc - __ pc()), "must not change"); + _info->oop_map()->set_oop(_obj->as_VMReg()); ce->add_call_info_here(_info); int jmp_off = __ offset(); __ jmp(_patch_site_entry); // Add enough nops so deoptimization can overwrite the jmp above with a call // and not destroy the world.
src/cpu/x86/vm/c1_CodeStubs_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File