src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp
changeset 57574 6a159c6c23cc
parent 55322 bc5baf205475
child 57626 91bc70505019
--- a/src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp	Wed Jul 24 10:09:30 2019 +0800
+++ b/src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp	Wed Jul 24 10:50:40 2019 +0300
@@ -1277,6 +1277,7 @@
   c2i_entry = __ pc();
 
   // Class initialization barrier for static methods
+  address c2i_no_clinit_check_entry = NULL;
   if (VM_Version::supports_fast_class_init_checks()) {
     Label L_skip_barrier;
 
@@ -1295,11 +1296,12 @@
     __ bctr();
 
     __ bind(L_skip_barrier);
+    c2i_no_clinit_check_entry = __ pc();
   }
 
   gen_c2i_adapter(masm, total_args_passed, comp_args_on_stack, sig_bt, regs, call_interpreter, ientry);
 
-  return AdapterHandlerLibrary::new_entry(fingerprint, i2c_entry, c2i_entry, c2i_unverified_entry);
+  return AdapterHandlerLibrary::new_entry(fingerprint, i2c_entry, c2i_entry, c2i_unverified_entry, c2i_no_clinit_check_entry);
 }
 
 #ifdef COMPILER2