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

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
feilongjiang authored and Vladimir Kempik committed Nov 26, 2022
1 parent ddc190e commit 94de334
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/hotspot/share/compiler/compilerDefinitions.cpp
Expand Up @@ -404,13 +404,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 94de334

@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.