diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-27 09:28:46 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-27 09:28:46 +0200 |
commit | 6668b07fcd51f86be243b9e08e667224e30c0cf8 (patch) | |
tree | 64f466e09b68a77ae1156c0d35cd5b95e18a34ca /Source/JavaScriptCore/runtime/Options.cpp | |
parent | e7923d9de38974f0c6fb7646c898a6ea618261e8 (diff) | |
download | qtwebkit-6668b07fcd51f86be243b9e08e667224e30c0cf8.tar.gz |
Imported WebKit commit 26cd9bd8ab0471ffe987c9b60368f63dc0f1f31b (http://svn.webkit.org/repository/webkit/trunk@121325)
New snapshot with more Windows build fixes
Diffstat (limited to 'Source/JavaScriptCore/runtime/Options.cpp')
-rw-r--r-- | Source/JavaScriptCore/runtime/Options.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/runtime/Options.cpp b/Source/JavaScriptCore/runtime/Options.cpp index 7b6da6536..894ca8cc0 100644 --- a/Source/JavaScriptCore/runtime/Options.cpp +++ b/Source/JavaScriptCore/runtime/Options.cpp @@ -67,6 +67,9 @@ int32_t thresholdForOptimizeSoon; int32_t executionCounterIncrementForLoop; int32_t executionCounterIncrementForReturn; +bool randomizeExecutionCountsBetweenCheckpoints; +int32_t maximumExecutionCountsBetweenCheckpoints; + unsigned desiredSpeculativeSuccessFailRatio; double likelyToTakeSlowCaseThreshold; @@ -95,6 +98,9 @@ unsigned gcMarkStackSegmentSize; unsigned numberOfGCMarkers; unsigned opaqueRootMergeThreshold; +bool forceWeakRandomSeed; +unsigned forcedWeakRandomSeed; + #if ENABLE(RUN_TIME_HEURISTICS) static bool parse(const char* string, bool& value) { @@ -184,6 +190,9 @@ void initializeOptions() SET(executionCounterIncrementForLoop, 1); SET(executionCounterIncrementForReturn, 15); + + SET(randomizeExecutionCountsBetweenCheckpoints, false); + SET(maximumExecutionCountsBetweenCheckpoints, 1000); SET(desiredSpeculativeSuccessFailRatio, 6); @@ -227,6 +236,9 @@ void initializeOptions() ASSERT((static_cast<int64_t>(thresholdForOptimizeAfterLongWarmUp) << reoptimizationRetryCounterMax) > 0); ASSERT((static_cast<int64_t>(thresholdForOptimizeAfterLongWarmUp) << reoptimizationRetryCounterMax) <= static_cast<int64_t>(std::numeric_limits<int32_t>::max())); + + SET(forceWeakRandomSeed, false); + SET(forcedWeakRandomSeed, 0); } } } // namespace JSC::Options |