Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 94de334

Browse files
feilongjiangVladimir Kempik
authored andcommitted
8297476: Increase InlineSmallCode default from 1000 to 2500 for RISC-V
Backport-of: 5e196b4b8e623107424e2fb54672790fd925fe73
1 parent ddc190e commit 94de334

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/hotspot/share/compiler/compilerDefinitions.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -404,13 +404,7 @@ void CompilerConfig::set_compilation_policy_flags() {
404404
if (CompilerConfig::is_tiered() && CompilerConfig::is_c2_enabled()) {
405405
#ifdef COMPILER2
406406
// Some inlining tuning
407-
#ifdef X86
408-
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
409-
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
410-
}
411-
#endif
412-
413-
#if defined AARCH64
407+
#if defined(X86) || defined(AARCH64) || defined(RISCV64)
414408
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
415409
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
416410
}

0 commit comments

Comments
 (0)