Reviewers: Hannes Payer,
Description:
Fix performance regression caused by accidental change in default max young
space size.
BUG=None
Please review this at https://codereview.chromium.org/24989003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+3, -3 lines):
M src/defaults.cc
Index: src/defaults.cc
diff --git a/src/defaults.cc b/src/defaults.cc
index
51159a8ed5faccd1c9ecb68024b6cd2866d91a51..301155f94dcb24f758eecf7f2d113ab026853381
100644
--- a/src/defaults.cc
+++ b/src/defaults.cc
@@ -45,15 +45,15 @@ bool ConfigureResourceConstraintsForCurrentPlatform(
// The young_space_size should be a power of 2 and old_generation_size
should
// be a multiple of Page::kPageSize.
if (physical_memory > 2ul * i::GB) {
- constraints->set_max_young_space_size(8 * lump_of_memory);
+ constraints->set_max_young_space_size(16 * lump_of_memory);
constraints->set_max_old_space_size(700 * lump_of_memory);
constraints->set_max_executable_size(256 * lump_of_memory);
} else if (physical_memory > 512ul * i::MB) {
- constraints->set_max_young_space_size(4 * lump_of_memory);
+ constraints->set_max_young_space_size(8 * lump_of_memory);
constraints->set_max_old_space_size(192 * lump_of_memory);
constraints->set_max_executable_size(192 * lump_of_memory);
} else /* (physical_memory <= 512GB) */ {
- constraints->set_max_young_space_size(1 * lump_of_memory);
+ constraints->set_max_young_space_size(2 * lump_of_memory);
constraints->set_max_old_space_size(96 * lump_of_memory);
constraints->set_max_executable_size(96 * lump_of_memory);
}
--
--
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.