From ce5251aff7b3d8fb458061ae209d713b6a5a88c8 Mon Sep 17 00:00:00 2001 From: Ashutosh Mehra Date: Fri, 26 May 2023 14:48:14 +0000 Subject: [PATCH] 8308657: ReplayInline is not availabe in production build Reviewed-by: kvn, roland, thartmann --- src/hotspot/share/opto/compile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/opto/compile.cpp b/src/hotspot/share/opto/compile.cpp index c1f2cbb14d276..914abb69ca497 100644 --- a/src/hotspot/share/opto/compile.cpp +++ b/src/hotspot/share/opto/compile.cpp @@ -677,11 +677,11 @@ Compile::Compile( ciEnv* ci_env, ciMethod* target, int osr_bci, #ifndef PRODUCT set_parsed_irreducible_loop(false); +#endif if (directive->ReplayInlineOption) { _replay_inline_data = ciReplay::load_inline_data(method(), entry_bci(), ci_env->comp_level()); } -#endif set_print_inlining(directive->PrintInliningOption || PrintOptoInlining); set_print_intrinsics(directive->PrintIntrinsicsOption); set_has_irreducible_loop(true); // conservative until build_loop_tree() reset it