Revision: 9135
Author: [email protected]
Date: Mon Sep 5 04:23:41 2011
Log: 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.
Review URL: http://codereview.chromium.org/7834019
http://code.google.com/p/v8/source/detail?r=9135
Modified:
/branches/experimental/gc/src/heap.h
=======================================
--- /branches/experimental/gc/src/heap.h Mon Aug 29 05:23:10 2011
+++ /branches/experimental/gc/src/heap.h Mon Sep 5 04:23:41 2011
@@ -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