Title: [200097] trunk/Source/_javascript_Core
Revision
200097
Author
[email protected]
Date
2016-04-26 10:46:23 -0700 (Tue, 26 Apr 2016)

Log Message

2016-04-26  Oliver Hunt  <[email protected]>

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

        Unreviewed roll-in of this change. There is only one
        additional allocation involved in this logic, and that
        is a duplicate mapping.

        Either our tools are not report real memory usage
        or this revision is not responsible for the regression.

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

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (200096 => 200097)


--- trunk/Source/_javascript_Core/ChangeLog	2016-04-26 17:38:43 UTC (rev 200096)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-04-26 17:46:23 UTC (rev 200097)
@@ -1,3 +1,18 @@
+2016-04-26  Oliver Hunt  <[email protected]>
+
+        Enable separated heap by default on ios
+        https://bugs.webkit.org/show_bug.cgi?id=156720
+
+        Unreviewed roll-in of this change. There is only one
+        additional allocation involved in this logic, and that
+        is a duplicate mapping.
+
+        Either our tools are not report real memory usage
+        or this revision is not responsible for the regression.
+
+        * runtime/Options.cpp:
+        (JSC::recomputeDependentOptions):
+
 2016-04-26  Filip Pizlo  <[email protected]>
 
         DFG backends shouldn't emit type checks at KnownBlah edges

Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (200096 => 200097)


--- trunk/Source/_javascript_Core/runtime/Options.cpp	2016-04-26 17:38:43 UTC (rev 200096)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp	2016-04-26 17:46:23 UTC (rev 200097)
@@ -341,6 +341,13 @@
         Options::useOSREntryToFTL() = false;
     }
 
+#if PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR) && __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
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to