8297476: Increase InlineSmallCode default from 1000 to 2500 for RISC-V

Reviewed-by: shade, yzhu
This commit is contained in:
Fei Yang 2022-11-24 13:32:52 +00:00
parent 070a84cbae
commit 5e196b4b8e

@ -401,13 +401,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);
}