mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 01:30:10 +00:00
8377863: [s390x] Increase inlining thresholds to the same as other platforms
Reviewed-by: aph, lucy
This commit is contained in:
parent
f25d429c8d
commit
cb3a57cced
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2018 SAP SE. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
@ -44,7 +44,7 @@ define_pd_global(intx, CompileThreshold, 10000);
|
||||
|
||||
define_pd_global(intx, OnStackReplacePercentage, 140);
|
||||
define_pd_global(intx, ConditionalMoveLimit, 4);
|
||||
define_pd_global(intx, FreqInlineSize, 175);
|
||||
define_pd_global(intx, FreqInlineSize, 325);
|
||||
define_pd_global(intx, InteriorEntryAlignment, 4);
|
||||
define_pd_global(size_t, NewSizeThreadIncrease, ScaleForWordSize(4*K));
|
||||
define_pd_global(intx, RegisterCostAreaRatio, 12000);
|
||||
|
||||
@ -404,14 +404,12 @@ void CompilerConfig::set_compilation_policy_flags() {
|
||||
#endif
|
||||
|
||||
if (CompilerConfig::is_tiered() && CompilerConfig::is_c2_enabled()) {
|
||||
#ifdef COMPILER2
|
||||
// Some inlining tuning
|
||||
#if defined(X86) || defined(AARCH64) || defined(RISCV64) || defined(PPC64)
|
||||
#if defined(COMPILER2) && defined(_LP64)
|
||||
// LP64 specific inlining tuning for C2
|
||||
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
|
||||
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
|
||||
}
|
||||
#endif
|
||||
#endif // COMPILER2
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user