< prev index next >
src/cpu/ppc/vm/globals_ppc.hpp
Print this page
rev 13015 : [mq]: 8180612.patch
@@ -162,38 +162,44 @@
"handles.") \
\
product(bool, ZapMemory, false, "Write 0x0101... to empty memory." \
" Use this to ease debugging.") \
\
- /* Use Restricted Transactional Memory for lock eliding */ \
+ /* Use Restricted Transactional Memory for lock elision */ \
product(bool, UseRTMLocking, false, \
"Enable RTM lock eliding for inflated locks in compiled code") \
\
experimental(bool, UseRTMForStackLocks, false, \
"Enable RTM lock eliding for stack locks in compiled code") \
\
product(bool, UseRTMDeopt, false, \
"Perform deopt and recompilation based on RTM abort ratio") \
\
- product(uintx, RTMRetryCount, 5, \
+ product(int, RTMRetryCount, 5, \
"Number of RTM retries on lock abort or busy") \
+ range(0, max_jint) \
\
- experimental(intx, RTMSpinLoopCount, 100, \
+ experimental(int, RTMSpinLoopCount, 100, \
"Spin count for lock to become free before RTM retry") \
+ range(0, 32767) /* immediate operand limit on ppc */ \
\
- experimental(intx, RTMAbortThreshold, 1000, \
+ experimental(int, RTMAbortThreshold, 1000, \
"Calculate abort ratio after this number of aborts") \
+ range(0, max_jint) \
\
- experimental(intx, RTMLockingThreshold, 10000, \
+ experimental(int, RTMLockingThreshold, 10000, \
"Lock count at which to do RTM lock eliding without " \
"abort ratio calculation") \
+ range(0, max_jint) \
\
- experimental(intx, RTMAbortRatio, 50, \
+ experimental(int, RTMAbortRatio, 50, \
"Lock abort ratio at which to stop use RTM lock eliding") \
+ range(0, 100) /* natural range, checked in vm_version_ppc.cpp */ \
\
- experimental(intx, RTMTotalCountIncrRate, 64, \
+ experimental(int, RTMTotalCountIncrRate, 64, \
"Increment total RTM attempted lock count once every n times") \
+ range(1, 32767) /* immediate operand limit on ppc */ \
\
experimental(intx, RTMLockingCalculationDelay, 0, \
"Number of milliseconds to wait before start calculating aborts " \
"for RTM locking") \
\
< prev index next >