Implement high promotion mode for new space.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 25 Nov 2011 14:41:38 +0000 (14:41 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 25 Nov 2011 14:41:38 +0000 (14:41 +0000)
commitc501fd9c45e1e2e88dfd75f6dc2a62cf18e550cf
treead223ad2cddb07428c68d4b35c6a8c8df88475fe
parentf8cabc645a61510a6a805cb24efa176eeb3c41f2
Implement high promotion mode for new space.

This mode drastically decreases pause times by limiting maximum capacity
of the young generation when mutators generate many long-lived objects.
It shrinks new space back to the initial capacity and keeps it at that
capacity until survival rate decreases again.

R=erik.corry@gmail.com

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

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