src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp
changeset 57710 05ff6e27de45
parent 55749 cff8aad2593f
child 58273 08a5148e7c4e
--- a/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp	Mon Aug 12 08:48:47 2019 +0200
+++ b/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp	Mon Aug 12 10:02:25 2019 +0200
@@ -1924,7 +1924,8 @@
                                                 int compile_id,
                                                 BasicType* in_sig_bt,
                                                 VMRegPair* in_regs,
-                                                BasicType ret_type) {
+                                                BasicType ret_type,
+                                                address critical_entry) {
   if (method->is_method_handle_intrinsic()) {
     vmIntrinsics::ID iid = method->intrinsic_id();
     intptr_t start = (intptr_t)__ pc();
@@ -1947,7 +1948,7 @@
                                        (OopMapSet*)NULL);
   }
   bool is_critical_native = true;
-  address native_func = method->critical_native_function();
+  address native_func = critical_entry;
   if (native_func == NULL) {
     native_func = method->native_function();
     is_critical_native = false;