@@ -89,13 +89,11 @@ define_pd_global(bool, PreserveFramePointer, false);
8989
9090define_pd_global (intx, InitArrayShortSize, 8 *BytesPerLong);
9191
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) \
9997 \
10098 develop(bool , IEEEPrecision, true , \
10199 " Enables IEEE precision (for INTEL only)" ) \
@@ -114,7 +112,7 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
114112 product(bool , UseCLMUL, false , \
115113 " Control whether CLMUL instructions can be used on x86/x64" ) \
116114 \
117- diagnostic (bool , UseIncDec, true , \
115+ product (bool , UseIncDec, true , DIAGNOSTIC, \
118116 " Use INC, DEC instructions on x86" ) \
119117 \
120118 product(bool , UseNewLongLShift, false , \
@@ -148,7 +146,7 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
148146 product(bool , UseRTMLocking, false , \
149147 " Enable RTM lock eliding for inflated locks in compiled code" ) \
150148 \
151- experimental (bool , UseRTMForStackLocks, false , \
149+ product (bool , UseRTMForStackLocks, false , EXPERIMENTAL, \
152150 " Enable RTM lock eliding for stack locks in compiled code" ) \
153151 \
154152 product(bool , UseRTMDeopt, false , \
@@ -158,33 +156,33 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
158156 " Number of RTM retries on lock abort or busy" ) \
159157 range(0 , max_jint) \
160158 \
161- experimental (int , RTMSpinLoopCount, 100 , \
159+ product (int , RTMSpinLoopCount, 100 , EXPERIMENTAL, \
162160 " Spin count for lock to become free before RTM retry" ) \
163161 range(0 , max_jint) \
164162 \
165- experimental (int , RTMAbortThreshold, 1000 , \
163+ product (int , RTMAbortThreshold, 1000 , EXPERIMENTAL, \
166164 " Calculate abort ratio after this number of aborts" ) \
167165 range(0 , max_jint) \
168166 \
169- experimental (int , RTMLockingThreshold, 10000 , \
167+ product (int , RTMLockingThreshold, 10000 , EXPERIMENTAL, \
170168 " Lock count at which to do RTM lock eliding without " \
171169 " abort ratio calculation" ) \
172170 range(0 , max_jint) \
173171 \
174- experimental (int , RTMAbortRatio, 50 , \
172+ product (int , RTMAbortRatio, 50 , EXPERIMENTAL, \
175173 " Lock abort ratio at which to stop use RTM lock eliding" ) \
176174 range(0 , 100 ) /* natural range */ \
177175 \
178- experimental (int , RTMTotalCountIncrRate, 64 , \
176+ product (int , RTMTotalCountIncrRate, 64 , EXPERIMENTAL, \
179177 " Increment total RTM attempted lock count once every n times" ) \
180178 range(1 , max_jint) \
181179 constraint(RTMTotalCountIncrRateConstraintFunc,AfterErgo) \
182180 \
183- experimental (intx, RTMLockingCalculationDelay, 0 , \
181+ product (intx, RTMLockingCalculationDelay, 0 , EXPERIMENTAL, \
184182 " Number of milliseconds to wait before start calculating aborts " \
185183 " for RTM locking" ) \
186184 \
187- experimental (bool , UseRTMXendForLockBusy, true , \
185+ product (bool , UseRTMXendForLockBusy, true , EXPERIMENTAL, \
188186 " Use RTM Xend instead of Xabort when lock busy" ) \
189187 \
190188 /* assembler */ \
@@ -203,21 +201,23 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
203201 product(bool , UseBMI2Instructions, false , \
204202 " Use BMI2 instructions" ) \
205203 \
206- diagnostic (bool , UseLibmIntrinsic, true , \
204+ product (bool , UseLibmIntrinsic, true , DIAGNOSTIC, \
207205 " Use Libm Intrinsics" ) \
208206 \
209207 /* Minimum array size in bytes to use AVX512 intrinsics */ \
210208 /* for copy, inflate and fill which don't bail out early based on any */ \
211209 /* condition. When this value is set to zero compare operations like */ \
212210 /* compare, vectorizedMismatch, compress can also use AVX512 intrinsics.*/ \
213- diagnostic (int , AVX3Threshold, 4096 , \
211+ product (int , AVX3Threshold, 4096 , DIAGNOSTIC, \
214212 " Minimum array size in bytes to use AVX512 intrinsics" \
215213 " for copy, inflate and fill. When this value is set as zero" \
216214 " compare operations can also use AVX512 intrinsics." ) \
217215 range(0 , max_jint) \
218216 \
219- diagnostic (bool , IntelJccErratumMitigation, true , \
217+ product (bool , IntelJccErratumMitigation, true , DIAGNOSTIC, \
220218 " Turn off JVM mitigations related to Intel micro code " \
221219 " mitigations for the Intel JCC erratum" )
222220
221+ // end of ARCH_FLAGS
222+
223223#endif // CPU_X86_GLOBALS_X86_HPP
0 commit comments