Title: [171107] trunk/Source/WTF
Revision
171107
Author
akl...@apple.com
Date
2014-07-15 11:34:35 -0700 (Tue, 15 Jul 2014)

Log Message

Revert: Run the FastMalloc scavenger thread on iOS as well.
<https://webkit.org/b/134927>
<rdar://problem/17485079>

This appears to be the cause of some elusive crashes, and since I don't
have a way to reproduce them, let's just go back to not running the
scavenger thread on iOS.

Reviewed by Antti Koivisto.

* wtf/FastMalloc.cpp:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (171106 => 171107)


--- trunk/Source/WTF/ChangeLog	2014-07-15 15:48:44 UTC (rev 171106)
+++ trunk/Source/WTF/ChangeLog	2014-07-15 18:34:35 UTC (rev 171107)
@@ -1,3 +1,17 @@
+2014-07-15  Andreas Kling  <akl...@apple.com>
+
+        Revert: Run the FastMalloc scavenger thread on iOS as well.
+        <https://webkit.org/b/134927>
+        <rdar://problem/17485079>
+
+        This appears to be the cause of some elusive crashes, and since I don't
+        have a way to reproduce them, let's just go back to not running the
+        scavenger thread on iOS.
+
+        Reviewed by Antti Koivisto.
+
+        * wtf/FastMalloc.cpp:
+
 2014-07-13  Filip Pizlo  <fpi...@apple.com>
 
         HashMap should have removeIf()

Modified: trunk/Source/WTF/wtf/FastMalloc.cpp (171106 => 171107)


--- trunk/Source/WTF/wtf/FastMalloc.cpp	2014-07-15 15:48:44 UTC (rev 171106)
+++ trunk/Source/WTF/wtf/FastMalloc.cpp	2014-07-15 18:34:35 UTC (rev 171107)
@@ -111,7 +111,11 @@
 #define ENABLE_TCMALLOC_HARDENING 1
 
 // Use a background thread to periodically scavenge memory to release back to the system
+#if PLATFORM(IOS)
+#define USE_BACKGROUND_THREAD_TO_SCAVENGE_MEMORY 0
+#else
 #define USE_BACKGROUND_THREAD_TO_SCAVENGE_MEMORY 1
+#endif
 
 #ifndef NDEBUG
 namespace WTF {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to