Skip to content

Commit

Permalink
8297476: Increase InlineSmallCode default from 1000 to 2500 for RISC-V
Browse files Browse the repository at this point in the history
Backport-of: 5e196b4b8e623107424e2fb54672790fd925fe73
  • Loading branch information
RealFYang committed Jul 12, 2023
1 parent d5eec58 commit a299757
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/hotspot/share/compiler/compilerDefinitions.cpp
Expand Up @@ -394,13 +394,7 @@ void CompilerConfig::set_compilation_policy_flags() {
if (CompilerConfig::is_tiered() && CompilerConfig::is_c2_enabled()) {
#ifdef COMPILER2
// Some inlining tuning
#ifdef X86
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
}
#endif

#if defined AARCH64
#if defined(X86) || defined(AARCH64) || defined(RISCV64)
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
}
Expand Down

1 comment on commit a299757

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.