162 \
163 product(int, RTMRetryCount, 5, \
164 "Number of RTM retries on lock abort or busy") \
165 range(0, max_jint) \
166 \
167 experimental(int, RTMSpinLoopCount, 100, \
168 "Spin count for lock to become free before RTM retry") \
169 range(0, max_jint) \
170 \
171 experimental(int, RTMAbortThreshold, 1000, \
172 "Calculate abort ratio after this number of aborts") \
173 range(0, max_jint) \
174 \
175 experimental(int, RTMLockingThreshold, 10000, \
176 "Lock count at which to do RTM lock eliding without " \
177 "abort ratio calculation") \
178 range(0, max_jint) \
179 \
180 experimental(int, RTMAbortRatio, 50, \
181 "Lock abort ratio at which to stop use RTM lock eliding") \
182 range(0, 100) /* natural range, checked in vm_version_x86.cpp */ \
183 \
184 experimental(int, RTMTotalCountIncrRate, 64, \
185 "Increment total RTM attempted lock count once every n times") \
186 range(1, max_jint) \
187 \
188 experimental(intx, RTMLockingCalculationDelay, 0, \
189 "Number of milliseconds to wait before start calculating aborts " \
190 "for RTM locking") \
191 \
192 experimental(bool, UseRTMXendForLockBusy, true, \
193 "Use RTM Xend instead of Xabort when lock busy") \
194 \
195 /* assembler */ \
196 product(bool, UseCountLeadingZerosInstruction, false, \
197 "Use count leading zeros instruction") \
198 \
199 product(bool, UseCountTrailingZerosInstruction, false, \
200 "Use count trailing zeros instruction") \
201 \
202 product(bool, UseSSE42Intrinsics, false, \
203 "SSE4.2 versions of intrinsics") \
204 \
205 product(bool, UseBMI1Instructions, false, \
206 "Use BMI1 instructions") \
|
162 \
163 product(int, RTMRetryCount, 5, \
164 "Number of RTM retries on lock abort or busy") \
165 range(0, max_jint) \
166 \
167 experimental(int, RTMSpinLoopCount, 100, \
168 "Spin count for lock to become free before RTM retry") \
169 range(0, max_jint) \
170 \
171 experimental(int, RTMAbortThreshold, 1000, \
172 "Calculate abort ratio after this number of aborts") \
173 range(0, max_jint) \
174 \
175 experimental(int, RTMLockingThreshold, 10000, \
176 "Lock count at which to do RTM lock eliding without " \
177 "abort ratio calculation") \
178 range(0, max_jint) \
179 \
180 experimental(int, RTMAbortRatio, 50, \
181 "Lock abort ratio at which to stop use RTM lock eliding") \
182 range(0, 100) /* natural range */ \
183 \
184 experimental(int, RTMTotalCountIncrRate, 64, \
185 "Increment total RTM attempted lock count once every n times") \
186 range(1, max_jint) \
187 constraint(RTMTotalCountIncrRateConstraintFunc,AfterErgo) \
188 \
189 experimental(intx, RTMLockingCalculationDelay, 0, \
190 "Number of milliseconds to wait before start calculating aborts " \
191 "for RTM locking") \
192 \
193 experimental(bool, UseRTMXendForLockBusy, true, \
194 "Use RTM Xend instead of Xabort when lock busy") \
195 \
196 /* assembler */ \
197 product(bool, UseCountLeadingZerosInstruction, false, \
198 "Use count leading zeros instruction") \
199 \
200 product(bool, UseCountTrailingZerosInstruction, false, \
201 "Use count trailing zeros instruction") \
202 \
203 product(bool, UseSSE42Intrinsics, false, \
204 "SSE4.2 versions of intrinsics") \
205 \
206 product(bool, UseBMI1Instructions, false, \
207 "Use BMI1 instructions") \
|