Revision: 14431
Author: [email protected]
Date: Thu Apr 25 02:17:07 2013
Log: Grow the old generation faster in high promotion mode.
BUG=
Review URL: https://codereview.chromium.org/14493011
http://code.google.com/p/v8/source/detail?r=14431
Modified:
/branches/bleeding_edge/src/heap.h
=======================================
--- /branches/bleeding_edge/src/heap.h Tue Apr 23 08:21:11 2013
+++ /branches/bleeding_edge/src/heap.h Thu Apr 25 02:17:07 2013
@@ -1543,7 +1543,8 @@
8 * (Page::kPageSize > MB ? Page::kPageSize : MB);
intptr_t OldGenPromotionLimit(intptr_t old_gen_size) {
- const int divisor = FLAG_stress_compaction ? 10 : 3;
+ const int divisor = FLAG_stress_compaction ? 10 :
+ new_space_high_promotion_mode_active_ ? 1 : 3;
intptr_t limit =
Max(old_gen_size + old_gen_size / divisor, kMinimumPromotionLimit);
limit += new_space_.Capacity();
@@ -1553,7 +1554,8 @@
}
intptr_t OldGenAllocationLimit(intptr_t old_gen_size) {
- const int divisor = FLAG_stress_compaction ? 8 : 2;
+ const int divisor = FLAG_stress_compaction ? 8 :
+ new_space_high_promotion_mode_active_ ? 1 : 2;
intptr_t limit =
Max(old_gen_size + old_gen_size / divisor,
kMinimumAllocationLimit);
limit += new_space_.Capacity();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.