Skip to content

Commit 5d6a073

Browse files
committed
suggestion from Andrew
1 parent 8774404 commit 5d6a073

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/hotspot/share/compiler/compilerDefinitions.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,14 +404,12 @@ void CompilerConfig::set_compilation_policy_flags() {
404404
#endif
405405

406406
if (CompilerConfig::is_tiered() && CompilerConfig::is_c2_enabled()) {
407-
#ifdef COMPILER2
408-
// Some inlining tuning
409-
#if defined(X86) || defined(AARCH64) || defined(RISCV64) || defined(PPC64) || defined(S390)
407+
#if defined(COMPILER2) && defined(_LP64)
408+
// LP64 specific inlining tuning for C2
410409
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
411410
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
412411
}
413412
#endif
414-
#endif // COMPILER2
415413
}
416414

417415
}

0 commit comments

Comments
 (0)