Adapt fragmentation heuristics for over reserved pages.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Jun 2012 09:29:49 +0000 (09:29 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Jun 2012 09:29:49 +0000 (09:29 +0000)
commit6cf640ab6ca9c21da7a57aa7f8b58ac2c93a4403
tree00d57dde2f8b26b04870b6ba8286176e6321a34a
parent3372b08cb0c522cb63670b792d10123c4ccefd42
Adapt fragmentation heuristics for over reserved pages.

This adapts the heuristics that detect fragmented pages to reduce memory
footprint for spaces with over reserved memory. This minimizes external
fragmentation caused by pages that cannot be released to the OS because
of just a few live objects on them.

R=erik.corry@gmail.com
TEST=cctest/test-heap/ReleaseOverReservedPages

Review URL: https://chromiumcodereview.appspot.com/10629004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11901 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mark-compact.cc
test/cctest/test-alloc.cc
test/cctest/test-heap.cc