@@ -89,13 +89,11 @@ define_pd_global(bool, PreserveFramePointer, false);
89
89
90
90
define_pd_global (intx, InitArrayShortSize, 8 *BytesPerLong);
91
91
92
- #define ARCH_FLAGS (develop, \
93
- product, \
94
- diagnostic, \
95
- experimental, \
96
- notproduct, \
97
- range, \
98
- constraint) \
92
+ #define ARCH_FLAGS (develop, \
93
+ product, \
94
+ notproduct, \
95
+ range, \
96
+ constraint) \
99
97
\
100
98
develop(bool , IEEEPrecision, true , \
101
99
" Enables IEEE precision (for INTEL only)" ) \
@@ -114,7 +112,7 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
114
112
product(bool , UseCLMUL, false , \
115
113
" Control whether CLMUL instructions can be used on x86/x64" ) \
116
114
\
117
- diagnostic (bool , UseIncDec, true , \
115
+ product (bool , UseIncDec, true , DIAGNOSTIC, \
118
116
" Use INC, DEC instructions on x86" ) \
119
117
\
120
118
product(bool , UseNewLongLShift, false , \
@@ -148,7 +146,7 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
148
146
product(bool , UseRTMLocking, false , \
149
147
" Enable RTM lock eliding for inflated locks in compiled code" ) \
150
148
\
151
- experimental (bool , UseRTMForStackLocks, false , \
149
+ product (bool , UseRTMForStackLocks, false , EXPERIMENTAL, \
152
150
" Enable RTM lock eliding for stack locks in compiled code" ) \
153
151
\
154
152
product(bool , UseRTMDeopt, false , \
@@ -158,33 +156,33 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
158
156
" Number of RTM retries on lock abort or busy" ) \
159
157
range(0 , max_jint) \
160
158
\
161
- experimental (int , RTMSpinLoopCount, 100 , \
159
+ product (int , RTMSpinLoopCount, 100 , EXPERIMENTAL, \
162
160
" Spin count for lock to become free before RTM retry" ) \
163
161
range(0 , max_jint) \
164
162
\
165
- experimental (int , RTMAbortThreshold, 1000 , \
163
+ product (int , RTMAbortThreshold, 1000 , EXPERIMENTAL, \
166
164
" Calculate abort ratio after this number of aborts" ) \
167
165
range(0 , max_jint) \
168
166
\
169
- experimental (int , RTMLockingThreshold, 10000 , \
167
+ product (int , RTMLockingThreshold, 10000 , EXPERIMENTAL, \
170
168
" Lock count at which to do RTM lock eliding without " \
171
169
" abort ratio calculation" ) \
172
170
range(0 , max_jint) \
173
171
\
174
- experimental (int , RTMAbortRatio, 50 , \
172
+ product (int , RTMAbortRatio, 50 , EXPERIMENTAL, \
175
173
" Lock abort ratio at which to stop use RTM lock eliding" ) \
176
174
range(0 , 100 ) /* natural range */ \
177
175
\
178
- experimental (int , RTMTotalCountIncrRate, 64 , \
176
+ product (int , RTMTotalCountIncrRate, 64 , EXPERIMENTAL, \
179
177
" Increment total RTM attempted lock count once every n times" ) \
180
178
range(1 , max_jint) \
181
179
constraint(RTMTotalCountIncrRateConstraintFunc,AfterErgo) \
182
180
\
183
- experimental (intx, RTMLockingCalculationDelay, 0 , \
181
+ product (intx, RTMLockingCalculationDelay, 0 , EXPERIMENTAL, \
184
182
" Number of milliseconds to wait before start calculating aborts " \
185
183
" for RTM locking" ) \
186
184
\
187
- experimental (bool , UseRTMXendForLockBusy, true , \
185
+ product (bool , UseRTMXendForLockBusy, true , EXPERIMENTAL, \
188
186
" Use RTM Xend instead of Xabort when lock busy" ) \
189
187
\
190
188
/* assembler */ \
@@ -203,21 +201,23 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
203
201
product(bool , UseBMI2Instructions, false , \
204
202
" Use BMI2 instructions" ) \
205
203
\
206
- diagnostic (bool , UseLibmIntrinsic, true , \
204
+ product (bool , UseLibmIntrinsic, true , DIAGNOSTIC, \
207
205
" Use Libm Intrinsics" ) \
208
206
\
209
207
/* Minimum array size in bytes to use AVX512 intrinsics */ \
210
208
/* for copy, inflate and fill which don't bail out early based on any */ \
211
209
/* condition. When this value is set to zero compare operations like */ \
212
210
/* compare, vectorizedMismatch, compress can also use AVX512 intrinsics.*/ \
213
- diagnostic (int , AVX3Threshold, 4096 , \
211
+ product (int , AVX3Threshold, 4096 , DIAGNOSTIC, \
214
212
" Minimum array size in bytes to use AVX512 intrinsics" \
215
213
" for copy, inflate and fill. When this value is set as zero" \
216
214
" compare operations can also use AVX512 intrinsics." ) \
217
215
range(0 , max_jint) \
218
216
\
219
- diagnostic (bool , IntelJccErratumMitigation, true , \
217
+ product (bool , IntelJccErratumMitigation, true , DIAGNOSTIC, \
220
218
" Turn off JVM mitigations related to Intel micro code " \
221
219
" mitigations for the Intel JCC erratum" )
222
220
221
+ // end of ARCH_FLAGS
222
+
223
223
#endif // CPU_X86_GLOBALS_X86_HPP
0 commit comments