Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/src/hotspot/share/runtime/flags/allFlags.hpp
40957 views
1
/*
2
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License version 2 only, as
7
* published by the Free Software Foundation.
8
*
9
* This code is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* version 2 for more details (a copy is included in the LICENSE file that
13
* accompanied this code).
14
*
15
* You should have received a copy of the GNU General Public License version
16
* 2 along with this work; if not, write to the Free Software Foundation,
17
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18
*
19
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20
* or visit www.oracle.com if you need additional information or have any
21
* questions.
22
*
23
*/
24
25
#ifndef SHARE_RUNTIME_FLAGS_ALLFLAGS_HPP
26
#define SHARE_RUNTIME_FLAGS_ALLFLAGS_HPP
27
28
#include "compiler/compiler_globals.hpp"
29
#include "gc/shared/gc_globals.hpp"
30
#include "gc/shared/tlab_globals.hpp"
31
#include "runtime/flags/debug_globals.hpp"
32
#include "runtime/globals.hpp"
33
34
// Put LP64/ARCH/JVMCI/COMPILER1/COMPILER2 at the top,
35
// as they are processed by jvmFlag.cpp in that order.
36
37
#define ALL_FLAGS( \
38
develop, \
39
develop_pd, \
40
product, \
41
product_pd, \
42
notproduct, \
43
range, \
44
constraint) \
45
\
46
LP64_RUNTIME_FLAGS( \
47
develop, \
48
develop_pd, \
49
product, \
50
product_pd, \
51
notproduct, \
52
range, \
53
constraint) \
54
\
55
ARCH_FLAGS( \
56
develop, \
57
product, \
58
notproduct, \
59
range, \
60
constraint) \
61
\
62
JVMCI_ONLY(JVMCI_FLAGS( \
63
develop, \
64
develop_pd, \
65
product, \
66
product_pd, \
67
notproduct, \
68
range, \
69
constraint)) \
70
\
71
COMPILER1_PRESENT(C1_FLAGS( \
72
develop, \
73
develop_pd, \
74
product, \
75
product_pd, \
76
notproduct, \
77
range, \
78
constraint)) \
79
\
80
COMPILER2_PRESENT(C2_FLAGS( \
81
develop, \
82
develop_pd, \
83
product, \
84
product_pd, \
85
notproduct, \
86
range, \
87
constraint)) \
88
\
89
COMPILER_FLAGS( \
90
develop, \
91
develop_pd, \
92
product, \
93
product_pd, \
94
notproduct, \
95
range, \
96
constraint) \
97
\
98
RUNTIME_FLAGS( \
99
develop, \
100
develop_pd, \
101
product, \
102
product_pd, \
103
notproduct, \
104
range, \
105
constraint) \
106
\
107
RUNTIME_OS_FLAGS( \
108
develop, \
109
develop_pd, \
110
product, \
111
product_pd, \
112
notproduct, \
113
range, \
114
constraint) \
115
\
116
DEBUG_RUNTIME_FLAGS( \
117
develop, \
118
develop_pd, \
119
product, \
120
product_pd, \
121
notproduct, \
122
range, \
123
constraint) \
124
\
125
GC_FLAGS( \
126
develop, \
127
develop_pd, \
128
product, \
129
product_pd, \
130
notproduct, \
131
range, \
132
constraint) \
133
\
134
TLAB_FLAGS( \
135
develop, \
136
develop_pd, \
137
product, \
138
product_pd, \
139
notproduct, \
140
range, \
141
constraint)
142
143
#define ALL_CONSTRAINTS(f) \
144
COMPILER_CONSTRAINTS(f) \
145
RUNTIME_CONSTRAINTS(f) \
146
GC_CONSTRAINTS(f)
147
148
149
#endif // SHARE_RUNTIME_FLAGS_ALLFLAGS_HPP
150
151