Title: [247713] trunk/Source/_javascript_Core
Revision
247713
Author
[email protected]
Date
2019-07-22 19:24:47 -0700 (Mon, 22 Jul 2019)

Log Message

Turn off Wasm fast memory on iOS
https://bugs.webkit.org/show_bug.cgi?id=200016
<rdar://problem/53417726>

Reviewed by Yusuke Suzuki.

We turned them on when we disabled Gigacage on iOS. However, we re-enabled
Gigacage on iOS, but forgot to turn wasm fast memories back off.

* runtime/Options.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (247712 => 247713)


--- trunk/Source/_javascript_Core/ChangeLog	2019-07-23 02:08:20 UTC (rev 247712)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-07-23 02:24:47 UTC (rev 247713)
@@ -1,3 +1,16 @@
+2019-07-22  Saam Barati  <[email protected]>
+
+        Turn off Wasm fast memory on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=200016
+        <rdar://problem/53417726>
+
+        Reviewed by Yusuke Suzuki.
+
+        We turned them on when we disabled Gigacage on iOS. However, we re-enabled
+        Gigacage on iOS, but forgot to turn wasm fast memories back off.
+
+        * runtime/Options.h:
+
 2019-07-22  Ross Kirsling  <[email protected]>
 
         Unreviewed non-unified build fix.

Modified: trunk/Source/_javascript_Core/runtime/Options.h (247712 => 247713)


--- trunk/Source/_javascript_Core/runtime/Options.h	2019-07-23 02:08:20 UTC (rev 247712)
+++ trunk/Source/_javascript_Core/runtime/Options.h	2019-07-23 02:24:47 UTC (rev 247713)
@@ -480,8 +480,8 @@
     v(unsigned, webAssemblyOMGTierUpCount, 5000, Normal, "The countdown before we tier up a function to OMG.") \
     v(unsigned, webAssemblyLoopDecrement, 15, Normal, "The amount the tier up countdown is decremented on each loop backedge.") \
     v(unsigned, webAssemblyFunctionEntryDecrement, 1, Normal, "The amount the tier up countdown is decremented on each function entry.") \
-    \
-    v(bool, useWebAssemblyFastMemory, true, Normal, "If true, we will try to use a 32-bit address space with a signal handler to bounds check wasm memory.") \
+    /* FIXME: enable fast memories on iOS and pre-allocate them. https://bugs.webkit.org/show_bug.cgi?id=170774 */ \
+    v(bool, useWebAssemblyFastMemory, !isIOS(), Normal, "If true, we will try to use a 32-bit address space with a signal handler to bounds check wasm memory.") \
     v(bool, logWebAssemblyMemory, false, Normal, nullptr) \
     v(unsigned, webAssemblyFastMemoryRedzonePages, 128, Normal, "WebAssembly fast memories use 4GiB virtual allocations, plus a redzone (counted as multiple of 64KiB WebAssembly pages) at the end to catch reg+imm accesses which exceed 32-bit, anything beyond the redzone is explicitly bounds-checked") \
     v(bool, crashIfWebAssemblyCantFastMemory, false, Normal, "If true, we will crash if we can't obtain fast memory for wasm.") \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to