Check the growth of the old generation before expanding the paged
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 29 Oct 2008 09:27:59 +0000 (09:27 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 29 Oct 2008 09:27:59 +0000 (09:27 +0000)
commitaf989d9e9416ff833d2abda43cf5d1d480fdb4ce
tree17290ec09149d03b534c355d0668f01810c2e12b
parenta74efbd1203314c2873eb2b1a821102314b350da
Check the growth of the old generation before expanding the paged
spaces (during normal allocation) and when allocating large objects.
If the promotion limit is reached, fail allocation to trigger a
garbage collection.
Review URL: http://codereview.chromium.org/8657

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