Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openjdk-multiarch-jdk8u
Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/cpu/aarch32/vm/c1_globals_aarch32.hpp
32285 views
1
/*
2
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
3
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
4
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
*
6
* This code is free software; you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License version 2 only, as
8
* published by the Free Software Foundation.
9
*
10
* This code is distributed in the hope that it will be useful, but WITHOUT
11
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13
* version 2 for more details (a copy is included in the LICENSE file that
14
* accompanied this code).
15
*
16
* You should have received a copy of the GNU General Public License version
17
* 2 along with this work; if not, write to the Free Software Foundation,
18
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19
*
20
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21
* or visit www.oracle.com if you need additional information or have any
22
* questions.
23
*
24
*/
25
// This file is a derivative work resulting from (and including) modifications
26
// made by Azul Systems, Inc. The dates of such changes are 2013-2016.
27
// Copyright 2013-2016 Azul Systems, Inc. All Rights Reserved.
28
//
29
// Please contact Azul Systems, 385 Moffett Park Drive, Suite 115, Sunnyvale,
30
// CA 94089 USA or visit www.azul.com if you need additional information or
31
// have any questions.
32
33
#ifndef CPU_AARCH32_VM_C1_GLOBALS_AARCH32_HPP
34
#define CPU_AARCH32_VM_C1_GLOBALS_AARCH32_HPP
35
36
#include "utilities/globalDefinitions.hpp"
37
#include "utilities/macros.hpp"
38
39
// Sets the default values for platform dependent flags used by the client compiler.
40
// (see c1_globals.hpp)
41
42
#ifndef TIERED
43
define_pd_global(bool, BackgroundCompilation, true );
44
define_pd_global(bool, UseTLAB, true );
45
define_pd_global(bool, ResizeTLAB, true );
46
define_pd_global(bool, InlineIntrinsics, true );
47
define_pd_global(bool, PreferInterpreterNativeStubs, false);
48
define_pd_global(bool, ProfileTraps, false);
49
define_pd_global(bool, UseOnStackReplacement, true);
50
define_pd_global(bool, TieredCompilation, false);
51
define_pd_global(intx, CompileThreshold, 1500 );
52
define_pd_global(intx, BackEdgeThreshold, 100000);
53
54
define_pd_global(intx, OnStackReplacePercentage, 933 );
55
define_pd_global(intx, FreqInlineSize, 325 );
56
define_pd_global(intx, NewSizeThreadIncrease, 4*K );
57
define_pd_global(intx, InitialCodeCacheSize, 160*K);
58
define_pd_global(intx, ReservedCodeCacheSize, 32*M );
59
define_pd_global(intx, NonProfiledCodeHeapSize, 13*M );
60
define_pd_global(intx, ProfiledCodeHeapSize, 14*M );
61
define_pd_global(intx, NonNMethodCodeHeapSize, 5*M );
62
define_pd_global(bool, ProfileInterpreter, false);
63
define_pd_global(intx, CodeCacheExpansionSize, 32*K );
64
define_pd_global(uintx, CodeCacheMinBlockLength, 1);
65
define_pd_global(uintx, CodeCacheMinimumUseSpace, 400*K);
66
define_pd_global(uintx, MetaspaceSize, 12*M );
67
define_pd_global(bool, NeverActAsServerClassMachine, true );
68
define_pd_global(uint64_t,MaxRAM, 1ULL*G);
69
define_pd_global(bool, CICompileOSR, true );
70
#endif // !TIERED
71
define_pd_global(bool, UseTypeProfile, false);
72
define_pd_global(bool, RoundFPResults, true );
73
74
define_pd_global(bool, LIRFillDelaySlots, false);
75
define_pd_global(bool, OptimizeSinglePrecision, true );
76
define_pd_global(bool, CSEArrayLength, true );
77
define_pd_global(bool, TwoOperandLIRForm, false);
78
79
define_pd_global(intx, SafepointPollOffset, 0 );
80
81
#endif // CPU_AARCH32_VM_C1_GLOBALS_AARCH32_HPP
82
83