#6018 Delete the flags associated with RTM

Fri, 01 Sep 2017 10:28:22 +0800

author
wangxue
date
Fri, 01 Sep 2017 10:28:22 +0800
changeset 6879
11d997b1e656
parent 6878
d475fff02a47
child 6880
52ea28d233d2

#6018 Delete the flags associated with RTM
Reviewed-by: aoqi
RTM is part of Intel's TSX, which is an x86 instruction set extension and facilitates the creation of multithreaded applications. Loongson does not support RTM.

src/cpu/mips/vm/globals_mips.hpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/mips/vm/globals_mips.hpp	Tue Aug 22 20:34:55 2017 +0800
     1.2 +++ b/src/cpu/mips/vm/globals_mips.hpp	Fri Sep 01 10:28:22 2017 +0800
     1.3 @@ -155,42 +155,6 @@
     1.4    product(bool, UseCountLeadingZerosInstruction, true,                      \
     1.5            "Use count leading zeros instruction")                            \
     1.6                                                                              \
     1.7 -  /* Use Restricted Transactional Memory for lock eliding */                \
     1.8 -  experimental(bool, UseRTMLocking, false,                                  \
     1.9 -          "Enable RTM lock eliding for inflated locks in compiled code")    \
    1.10 -                                                                            \
    1.11 -  experimental(bool, UseRTMForStackLocks, false,                            \
    1.12 -          "Enable RTM lock eliding for stack locks in compiled code")       \
    1.13 -                                                                            \
    1.14 -  experimental(bool, UseRTMDeopt, false,                                    \
    1.15 -          "Perform deopt and recompilation based on RTM abort ratio")       \
    1.16 -                                                                            \
    1.17 -  experimental(uintx, RTMRetryCount, 5,                                     \
    1.18 -          "Number of RTM retries on lock abort or busy")                    \
    1.19 -                                                                            \
    1.20 -  experimental(intx, RTMSpinLoopCount, 100,                                 \
    1.21 -          "Spin count for lock to become free before RTM retry")            \
    1.22 -                                                                            \
    1.23 -  experimental(intx, RTMAbortThreshold, 1000,                               \
    1.24 -          "Calculate abort ratio after this number of aborts")              \
    1.25 -                                                                            \
    1.26 -  experimental(intx, RTMLockingThreshold, 10000,                            \
    1.27 -          "Lock count at which to do RTM lock eliding without "             \
    1.28 -          "abort ratio calculation")                                        \
    1.29 -                                                                            \
    1.30 -  experimental(intx, RTMAbortRatio, 50,                                     \
    1.31 -          "Lock abort ratio at which to stop use RTM lock eliding")         \
    1.32 -                                                                            \
    1.33 -  experimental(intx, RTMTotalCountIncrRate, 64,                             \
    1.34 -          "Increment total RTM attempted lock count once every n times")    \
    1.35 -                                                                            \
    1.36 -  experimental(intx, RTMLockingCalculationDelay, 0,                         \
    1.37 -          "Number of milliseconds to wait before start calculating aborts " \
    1.38 -          "for RTM locking")                                                \
    1.39 -                                                                            \
    1.40 -  experimental(bool, UseRTMXendForLockBusy, true,                           \
    1.41 -          "Use RTM Xend instead of Xabort when lock busy")                  \
    1.42 -                                                                            \
    1.43    product(bool, UseCountTrailingZerosInstruction, false,                    \
    1.44            "Use count trailing zeros instruction")                           \
    1.45                                                                              \

mercurial