Title: [215539] trunk/Source/_javascript_Core
Revision
215539
Author
[email protected]
Date
2017-04-19 16:23:39 -0700 (Wed, 19 Apr 2017)

Log Message

Tune GC related JSC options for iOS
https://bugs.webkit.org/show_bug.cgi?id=171019

Reviewed by Mark Lam.

Always set these GC options on iOS.

* runtime/Options.cpp:
(JSC::overrideDefaults):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (215538 => 215539)


--- trunk/Source/_javascript_Core/ChangeLog	2017-04-19 23:21:19 UTC (rev 215538)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-04-19 23:23:39 UTC (rev 215539)
@@ -1,3 +1,15 @@
+2017-04-19  Michael Saboff  <[email protected]>
+
+        Tune GC related JSC options for iOS
+        https://bugs.webkit.org/show_bug.cgi?id=171019
+
+        Reviewed by Mark Lam.
+
+        Always set these GC options on iOS.
+
+        * runtime/Options.cpp:
+        (JSC::overrideDefaults):
+
 2017-04-19  JF Bastien  <[email protected]>
 
         WebAssembly: fast memory cleanups

Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (215538 => 215539)


--- trunk/Source/_javascript_Core/runtime/Options.cpp	2017-04-19 23:21:19 UTC (rev 215538)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp	2017-04-19 23:23:39 UTC (rev 215539)
@@ -329,7 +329,10 @@
 
 static void overrideDefaults()
 {
-    if (WTF::numberOfProcessorCores() < 4) {
+#if !PLATFORM(IOS)
+    if (WTF::numberOfProcessorCores() < 4)
+#endif
+    {
         Options::maximumMutatorUtilization() = 0.6;
         Options::concurrentGCMaxHeadroom() = 1.4;
         Options::minimumGCPauseMS() = 1;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to