src/hotspot/cpu/s390/sharedRuntime_s390.cpp
changeset 55749 cff8aad2593f
parent 55343 03d417fd7d9a
child 57710 05ff6e27de45
--- a/src/hotspot/cpu/s390/sharedRuntime_s390.cpp	Mon Jul 08 17:44:34 2019 +0200
+++ b/src/hotspot/cpu/s390/sharedRuntime_s390.cpp	Fri Jul 19 16:25:04 2019 +0300
@@ -2713,6 +2713,7 @@
   address 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;
 
@@ -2729,11 +2730,12 @@
     __ z_br(klass);
 
     __ bind(L_skip_barrier);
+    c2i_no_clinit_check_entry = __ pc();
   }
 
   gen_c2i_adapter(masm, total_args_passed, comp_args_on_stack, sig_bt, regs, skip_fixup);
 
-  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);
 }
 
 // This function returns the adjust size (in number of words) to a c2i adapter