Title: [170501] trunk/Source/WTF
- Revision
- 170501
- Author
- [email protected]
- Date
- 2014-06-26 16:03:10 -0700 (Thu, 26 Jun 2014)
Log Message
Bump FastMalloc thread cache max size to 1MB on iOS.
<https://webkit.org/b/134365>
The previous limit (512kB) comes from the old days of very-low-memory
devices, and we can now afford to spend another 512kB here.
Note that we already have a mechanism to purge FastMalloc caches on
system memory pressure.
Looks like a ~400ms progression on PLT.
Reviewed by Geoff Garen.
* wtf/FastMalloc.cpp:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (170500 => 170501)
--- trunk/Source/WTF/ChangeLog 2014-06-26 22:37:01 UTC (rev 170500)
+++ trunk/Source/WTF/ChangeLog 2014-06-26 23:03:10 UTC (rev 170501)
@@ -1,3 +1,19 @@
+2014-06-26 Andreas Kling <[email protected]>
+
+ Bump FastMalloc thread cache max size to 1MB on iOS.
+ <https://webkit.org/b/134365>
+
+ The previous limit (512kB) comes from the old days of very-low-memory
+ devices, and we can now afford to spend another 512kB here.
+ Note that we already have a mechanism to purge FastMalloc caches on
+ system memory pressure.
+
+ Looks like a ~400ms progression on PLT.
+
+ Reviewed by Geoff Garen.
+
+ * wtf/FastMalloc.cpp:
+
2014-06-26 Laszlo Gombos <[email protected]>
Define TARGET_OS_IPHONE to 0 for non-darwin ports
Modified: trunk/Source/WTF/wtf/FastMalloc.cpp (170500 => 170501)
--- trunk/Source/WTF/wtf/FastMalloc.cpp 2014-06-26 22:37:01 UTC (rev 170500)
+++ trunk/Source/WTF/wtf/FastMalloc.cpp 2014-06-26 23:03:10 UTC (rev 170501)
@@ -731,11 +731,7 @@
// Lower and upper bounds on the per-thread cache sizes
static const size_t kMinThreadCacheSize = kMaxSize * 2;
-#if PLATFORM(IOS)
-static const size_t kMaxThreadCacheSize = 512 * 1024;
-#else
static const size_t kMaxThreadCacheSize = 2 << 20;
-#endif
// Default bound on the total amount of thread caches
static const size_t kDefaultOverallThreadCacheSize = 16 << 20;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes