--- a/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp Mon Aug 12 08:48:47 2019 +0200
+++ b/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp Mon Aug 12 10:02:25 2019 +0200
@@ -1524,7 +1524,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();
@@ -1547,7 +1548,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;