Reviewers: Vyacheslav Egorov, Description: Up the initial promotion limit to 5 pages, since the old space has a minimum size of 5 pages (one for each of the data, pointer, map, code, cell spaces). This avoids a mark-sweep GC just after the boot of the VM.
Please review this at http://codereview.chromium.org/7834019/ SVN Base: http://v8.googlecode.com/svn/branches/experimental/gc/ Affected files: M src/heap.h Index: src/heap.h =================================================================== --- src/heap.h (revision 9070) +++ src/heap.h (working copy) @@ -1221,8 +1221,7 @@ (PromotedSpaceSize() + PromotedExternalMemorySize()); } - static const intptr_t kMinimumPromotionLimit = - 2 * (Page::kPageSize > MB ? Page::kPageSize : MB); + static const intptr_t kMinimumPromotionLimit = 5 * Page::kPageSize; static const intptr_t kMinimumAllocationLimit = 8 * (Page::kPageSize > MB ? Page::kPageSize : MB); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
