Title: [200496] trunk/Source/_javascript_Core
Revision
200496
Author
[email protected]
Date
2016-05-05 16:59:07 -0700 (Thu, 05 May 2016)

Log Message

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

Reviewed by Geoffrey Garen.

We've fixed the xnu side of things, so we can reland this.

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

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (200495 => 200496)


--- trunk/Source/_javascript_Core/ChangeLog	2016-05-05 23:54:44 UTC (rev 200495)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-05-05 23:59:07 UTC (rev 200496)
@@ -1,3 +1,15 @@
+2016-05-05  Oliver Hunt  <[email protected]>
+
+        Enable separated heap by default on ios
+        https://bugs.webkit.org/show_bug.cgi?id=156720
+
+        Reviewed by Geoffrey Garen.
+
+        We've fixed the xnu side of things, so we can reland this.
+
+        * runtime/Options.cpp:
+        (JSC::recomputeDependentOptions):
+
 2016-05-05  Joseph Pecoraro  <[email protected]>
 
         JSContext Inspector: Better CommandLineAPI in JSContext inspection

Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (200495 => 200496)


--- trunk/Source/_javascript_Core/runtime/Options.cpp	2016-05-05 23:54:44 UTC (rev 200495)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp	2016-05-05 23:59:07 UTC (rev 200496)
@@ -352,6 +352,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