Title: [199734] trunk/Source/_javascript_Core
Revision
199734
Author
oli...@apple.com
Date
2016-04-19 11:34:13 -0700 (Tue, 19 Apr 2016)

Log Message

Enable separated heap by default on ios
https://bugs.webkit.org/show_bug.cgi?id=156720

Reviewed by ggaren.

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

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (199733 => 199734)


--- trunk/Source/_javascript_Core/ChangeLog	2016-04-19 17:58:57 UTC (rev 199733)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-04-19 18:34:13 UTC (rev 199734)
@@ -1,3 +1,13 @@
+2016-04-18  Oliver Hunt  <oli...@apple.com>
+
+        Enable separated heap by default on ios
+        https://bugs.webkit.org/show_bug.cgi?id=156720
+
+        Reviewed by ggaren.
+
+        * runtime/Options.cpp:
+        (JSC::recomputeDependentOptions):
+
 2016-04-19  Mark Lam  <mark....@apple.com>
 
         Re-landing: ES6: Implement String.prototype.split and RegExp.prototype[@@split].

Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (199733 => 199734)


--- trunk/Source/_javascript_Core/runtime/Options.cpp	2016-04-19 17:58:57 UTC (rev 199733)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp	2016-04-19 18:34:13 UTC (rev 199734)
@@ -341,6 +341,13 @@
         Options::useOSREntryToFTL() = false;
     }
 
+#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000)
+    // Override globally for now. Longer term we'll just make the default
+    // be to have this option enabled, and have platforms that don't support
+    // it just silently use a single mapping.
+    Options::useSeparatedWXHeap() = true;
+#endif
+
     // 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
     // to left-shift the execution counter by this amount. Currently the value ends
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to