Skip to content

Commit a299757

Browse files
committed
8297476: Increase InlineSmallCode default from 1000 to 2500 for RISC-V
Backport-of: 5e196b4b8e623107424e2fb54672790fd925fe73
1 parent d5eec58 commit a299757

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/hotspot/share/compiler/compilerDefinitions.cpp

+1-7
Original file line numberDiff line numberDiff line change
@@ -394,13 +394,7 @@ void CompilerConfig::set_compilation_policy_flags() {
394394
if (CompilerConfig::is_tiered() && CompilerConfig::is_c2_enabled()) {
395395
#ifdef COMPILER2
396396
// Some inlining tuning
397-
#ifdef X86
398-
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
399-
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
400-
}
401-
#endif
402-
403-
#if defined AARCH64
397+
#if defined(X86) || defined(AARCH64) || defined(RISCV64)
404398
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
405399
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
406400
}

0 commit comments

Comments
 (0)