< prev index next >

src/hotspot/cpu/aarch64/compiledIC_aarch64.cpp

Print this page
rev 56543 : 8232046: AArch64 build failure after JDK-8225681
Reviewed-by: duke

@@ -183,10 +183,14 @@
   assert(CompiledICLocker::is_safe(stub), "mt unsafe call");
   // Creation also verifies the object.
   NativeMovConstReg* method_holder
     = nativeMovConstReg_at(stub + NativeInstruction::instruction_size);
   method_holder->set_data(0);
+  if (!static_stub->is_aot()) {
+    NativeJump* jump = nativeJump_at(method_holder->next_instruction_address());
+    jump->set_jump_destination((address)-1);
+  }
 }
 
 //-----------------------------------------------------------------------------
 // Non-product mode code
 #ifndef PRODUCT
< prev index next >