Title: [184111] trunk/Source/_javascript_Core
- Revision
- 184111
- Author
- [email protected]
- Date
- 2015-05-11 11:30:18 -0700 (Mon, 11 May 2015)
Log Message
Make it easy to enable eager/non-concurrent JIT compilation
https://bugs.webkit.org/show_bug.cgi?id=144877
Reviewed by Michael Saboff.
* runtime/Options.cpp:
(JSC::recomputeDependentOptions):
* runtime/Options.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (184110 => 184111)
--- trunk/Source/_javascript_Core/ChangeLog 2015-05-11 18:18:10 UTC (rev 184110)
+++ trunk/Source/_javascript_Core/ChangeLog 2015-05-11 18:30:18 UTC (rev 184111)
@@ -1,3 +1,14 @@
+2015-05-11 Filip Pizlo <[email protected]>
+
+ Make it easy to enable eager/non-concurrent JIT compilation
+ https://bugs.webkit.org/show_bug.cgi?id=144877
+
+ Reviewed by Michael Saboff.
+
+ * runtime/Options.cpp:
+ (JSC::recomputeDependentOptions):
+ * runtime/Options.h:
+
2015-05-10 Filip Pizlo <[email protected]>
We shouldn't promote LoadVarargs to a sequence of GetStacks and PutStacks if doing so would exceed the LoadVarargs' limit
Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (184110 => 184111)
--- trunk/Source/_javascript_Core/runtime/Options.cpp 2015-05-11 18:18:10 UTC (rev 184110)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp 2015-05-11 18:30:18 UTC (rev 184111)
@@ -290,6 +290,18 @@
if (Option(Options::jitPolicyScaleID).isOverridden())
scaleJITPolicy();
+
+ if (Options::forceEagerCompilation()) {
+ Options::thresholdForJITAfterWarmUp() = 10;
+ Options::thresholdForJITSoon() = 10;
+ Options::thresholdForOptimizeAfterWarmUp() = 20;
+ Options::thresholdForOptimizeAfterLongWarmUp() = 20;
+ Options::thresholdForOptimizeSoon() = 20;
+ Options::thresholdForFTLOptimizeAfterWarmUp() = 20;
+ Options::thresholdForFTLOptimizeSoon() = 20;
+ Options::maximumEvalCacheableSourceLength() = 150000;
+ Options::enableConcurrentJIT() = false;
+ }
// Compute the maximum value of the reoptimization retry counter. This is simply
// the largest value at which we don't overflow the execute counter, when using it
Modified: trunk/Source/_javascript_Core/runtime/Options.h (184110 => 184111)
--- trunk/Source/_javascript_Core/runtime/Options.h 2015-05-11 18:18:10 UTC (rev 184110)
+++ trunk/Source/_javascript_Core/runtime/Options.h 2015-05-11 18:30:18 UTC (rev 184111)
@@ -229,6 +229,7 @@
v(unsigned, maximumBinaryStringSwitchTotalLength, 2000, nullptr) \
\
v(double, jitPolicyScale, 1.0, "scale JIT thresholds to this specified ratio between 0.0 (compile ASAP) and 1.0 (compile like normal).") \
+ v(bool, forceEagerCompilation, false, nullptr) \
v(int32, thresholdForJITAfterWarmUp, 500, nullptr) \
v(int32, thresholdForJITSoon, 100, nullptr) \
\
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes