Title: [187861] releases/WebKitGTK/webkit-2.8/Source/bmalloc
- Revision
- 187861
- Author
- [email protected]
- Date
- 2015-08-04 06:50:19 -0700 (Tue, 04 Aug 2015)
Log Message
Merge r187270 - bmalloc: Shrink the super chunk size (again)
https://bugs.webkit.org/show_bug.cgi?id=147240
Reviewed by Andreas Kling.
Shrinking to 8MB reduced VM exhaustion crashes but did not eliminate them.
Let's try 4MB.
(My previous comment was that the maximum fast object was 2MB. But it
was 4MB! Now it's 2MB for realsies.)
* bmalloc/Sizes.h:
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.8/Source/bmalloc/ChangeLog (187860 => 187861)
--- releases/WebKitGTK/webkit-2.8/Source/bmalloc/ChangeLog 2015-08-04 13:32:50 UTC (rev 187860)
+++ releases/WebKitGTK/webkit-2.8/Source/bmalloc/ChangeLog 2015-08-04 13:50:19 UTC (rev 187861)
@@ -1,3 +1,18 @@
+2015-07-23 Geoffrey Garen <[email protected]>
+
+ bmalloc: Shrink the super chunk size (again)
+ https://bugs.webkit.org/show_bug.cgi?id=147240
+
+ Reviewed by Andreas Kling.
+
+ Shrinking to 8MB reduced VM exhaustion crashes but did not eliminate them.
+ Let's try 4MB.
+
+ (My previous comment was that the maximum fast object was 2MB. But it
+ was 4MB! Now it's 2MB for realsies.)
+
+ * bmalloc/Sizes.h:
+
2015-07-02 Geoffrey Garen <[email protected]>
bmalloc: Shrink the super chunk size
Modified: releases/WebKitGTK/webkit-2.8/Source/bmalloc/bmalloc/SegregatedFreeList.h (187860 => 187861)
--- releases/WebKitGTK/webkit-2.8/Source/bmalloc/bmalloc/SegregatedFreeList.h 2015-08-04 13:32:50 UTC (rev 187860)
+++ releases/WebKitGTK/webkit-2.8/Source/bmalloc/bmalloc/SegregatedFreeList.h 2015-08-04 13:50:19 UTC (rev 187861)
@@ -60,7 +60,7 @@
FreeList& select(size_t);
Owner m_owner;
- std::array<FreeList, 17> m_freeLists;
+ std::array<FreeList, 16> m_freeLists;
};
} // namespace bmalloc
Modified: releases/WebKitGTK/webkit-2.8/Source/bmalloc/bmalloc/Sizes.h (187860 => 187861)
--- releases/WebKitGTK/webkit-2.8/Source/bmalloc/bmalloc/Sizes.h 2015-08-04 13:32:50 UTC (rev 187860)
+++ releases/WebKitGTK/webkit-2.8/Source/bmalloc/bmalloc/Sizes.h 2015-08-04 13:50:19 UTC (rev 187861)
@@ -53,7 +53,7 @@
#endif
static const size_t vmPageMask = ~(vmPageSize - 1);
- static const size_t superChunkSize = 8 * MB;
+ static const size_t superChunkSize = 4 * MB;
static const size_t smallMax = 256;
static const size_t smallLineSize = 256;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes