Skip to content

Commit 37dc1be

Browse files
committed
8188131: [PPC] Increase inlining thresholds to the same as other platforms
Reviewed-by: mdoerr, mbaesken
1 parent 09db4bc commit 37dc1be

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/hotspot/cpu/ppc/c2_globals_ppc.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
3-
* Copyright (c) 2012, 2019 SAP SE. All rights reserved.
2+
* Copyright (c) 2000, 2026, Oracle and/or its affiliates. All rights reserved.
3+
* Copyright (c) 2012, 2026 SAP SE. All rights reserved.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
66
* This code is free software; you can redistribute it and/or modify it
@@ -44,7 +44,7 @@ define_pd_global(intx, CompileThreshold, 10000);
4444

4545
define_pd_global(intx, OnStackReplacePercentage, 140);
4646
define_pd_global(intx, ConditionalMoveLimit, 3);
47-
define_pd_global(intx, FreqInlineSize, 175);
47+
define_pd_global(intx, FreqInlineSize, 325);
4848
define_pd_global(intx, MinJumpTableSize, 10);
4949
define_pd_global(intx, InteriorEntryAlignment, 16);
5050
define_pd_global(size_t, NewSizeThreadIncrease, ScaleForWordSize(4*K));

src/hotspot/share/compiler/compilerDefinitions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -406,7 +406,7 @@ void CompilerConfig::set_compilation_policy_flags() {
406406
if (CompilerConfig::is_tiered() && CompilerConfig::is_c2_enabled()) {
407407
#ifdef COMPILER2
408408
// Some inlining tuning
409-
#if defined(X86) || defined(AARCH64) || defined(RISCV64)
409+
#if defined(X86) || defined(AARCH64) || defined(RISCV64) || defined(PPC64)
410410
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
411411
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
412412
}

0 commit comments

Comments
 (0)