--- a/hotspot/src/cpu/x86/vm/x86_64.ad Thu Oct 08 10:25:45 2015 +0000
+++ b/hotspot/src/cpu/x86/vm/x86_64.ad Thu Oct 08 12:49:30 2015 -1000
@@ -2136,12 +2136,13 @@
RELOC_DISP32);
}
if (_method) {
- // Emit stub for static call.
- address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
+ // Emit stubs for static call.
+ address mark = cbuf.insts_mark();
+ address stub = CompiledStaticCall::emit_to_interp_stub(cbuf, mark);
if (stub == NULL) {
ciEnv::current()->record_failure("CodeCache is full");
return;
- }
+ }
}
%}