Run the FastMalloc scavenger thread on iOS as well.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Jun 2014 06:44:36 +0000 (06:44 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Jun 2014 06:44:36 +0000 (06:44 +0000)
<https://webkit.org/b/134287>
<rdar://problem/17446198>

Reviewed by Gavin Barraclough.

* wtf/FastMalloc.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170420 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/FastMalloc.cpp

index 5da798a..20727a4 100644 (file)
@@ -1,3 +1,13 @@
+2014-06-24  Andreas Kling  <akling@apple.com>
+
+        Run the FastMalloc scavenger thread on iOS as well.
+        <https://webkit.org/b/134287>
+        <rdar://problem/17446198>
+
+        Reviewed by Gavin Barraclough.
+
+        * wtf/FastMalloc.cpp:
+
 2014-06-24  Anders Carlsson  <andersca@apple.com>
 
         Add PageState to HistoryItem conversion code
index 078b860..b2e964c 100644 (file)
 #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 {