# HG changeset patch # User Doug Simon # Date 1353623530 -3600 # Node ID bb524ee6b8e9e05cf5b41da27a051ae43e5b1840 # Parent 74f0207b82f5f2152c4c8cae06b6b0ec5b77d7c3 added relocation entry for the Method* operand of the MOV instruction in a static call stub diff -r 74f0207b82f5 -r bb524ee6b8e9 src/share/vm/graal/graalCodeInstaller.cpp --- a/src/share/vm/graal/graalCodeInstaller.cpp Thu Nov 22 12:56:52 2012 +0100 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Thu Nov 22 23:32:10 2012 +0100 @@ -766,6 +766,7 @@ _offsets.set_value(CodeOffsets::Deopt, pc_offset); break; case MARK_STATIC_CALL_STUB: { + _instructions->relocate(instruction, metadata_Relocation::spec_for_immediate()); assert(references->length() == 1, "static call stub needs one reference"); oop ref = ((oop*) references->base(T_OBJECT))[0]; address call_pc = _instructions->start() + CompilationResult_Site::pcOffset(ref);