Take survival rates of young objects into account when choosing old generation limits.
authorvegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Jun 2010 11:44:23 +0000 (11:44 +0000)
committervegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Jun 2010 11:44:23 +0000 (11:44 +0000)
commitae39e059c29b7140f6836d85ccf1f924f2134309
treea303b9d8134337f658db9fe45abde4af8bdf5439
parent4695ef1a096339a2af85e8d5a4b36fba71049d2d
Take survival rates of young objects into account when choosing old generation limits.

Stable high survival rates of young objects both during partial and
full collection indicate that mutator is either building or modifying
a structure with a long lifetime.

In this case we aggressively raise old generation memory limits to
postpone subsequent mark-sweep collection and trade memory space
for the mutation speed.

Review URL: http://codereview.chromium.org/2809032

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4938 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/heap.h