< prev index next >

src/hotspot/cpu/aarch64/compiledIC_aarch64.cpp

Print this page
rev 54117 : AArch64: 64-bit Literal Oops

@@ -75,11 +75,16 @@
   return base;
 }
 #undef __
 
 int CompiledStaticCall::to_interp_stub_size() {
+  if (!Use64BitLiteralAddresses) {
   return 7 * NativeInstruction::instruction_size;
+  } else {
+    // emit_to_interp_stub will emit 2 extra movk instructions.
+    return 9 * NativeInstruction::instruction_size;
+  }
 }
 
 int CompiledStaticCall::to_trampoline_stub_size() {
   // Somewhat pessimistically, we count 3 instructions here (although
   // there are only two) because we sometimes emit an alignment nop.
< prev index next >