From 0c86c31bccd676e1cfbd35898ee16e89d5752688 Mon Sep 17 00:00:00 2001 From: Patricio Chilano Mateo Date: Thu, 6 Jul 2023 19:15:45 +0000 Subject: [PATCH] 8302351: "assert(!JavaThread::current()->is_interp_only_mode() || !nm->method()->is_continuation_enter_intrinsic() || ContinuationEntry::is_interpreted_call(return_pc)) failed: interp_only_mode but not in enterSpecial interpreted entry" in fixup_callers_callsite Reviewed-by: dcubed, sspitsyn, dlong --- src/hotspot/share/runtime/sharedRuntime.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/hotspot/share/runtime/sharedRuntime.cpp b/src/hotspot/share/runtime/sharedRuntime.cpp index a481e587593..e0cb6ba901e 100644 --- a/src/hotspot/share/runtime/sharedRuntime.cpp +++ b/src/hotspot/share/runtime/sharedRuntime.cpp @@ -2076,9 +2076,6 @@ JRT_LEAF(void, SharedRuntime::fixup_callers_callsite(Method* method, address cal // Get the return PC for the passed caller PC. address return_pc = caller_pc + frame::pc_return_offset; - assert(!JavaThread::current()->is_interp_only_mode() || !nm->method()->is_continuation_enter_intrinsic() - || ContinuationEntry::is_interpreted_call(return_pc), "interp_only_mode but not in enterSpecial interpreted entry"); - // There is a benign race here. We could be attempting to patch to a compiled // entry point at the same time the callee is being deoptimized. If that is // the case then entry_point may in fact point to a c2i and we'd patch the @@ -2116,8 +2113,6 @@ JRT_LEAF(void, SharedRuntime::fixup_callers_callsite(Method* method, address cal return; } if (nm->method()->is_continuation_enter_intrinsic()) { - assert(ContinuationEntry::is_interpreted_call(call->instruction_address()) == JavaThread::current()->is_interp_only_mode(), - "mode: %d", JavaThread::current()->is_interp_only_mode()); if (ContinuationEntry::is_interpreted_call(call->instruction_address())) { return; }