Commit ef464f0c authored by vegorov@chromium.org's avatar vegorov@chromium.org

Switch to aggresive promotion in mark-sweep collections.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4525 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0908fdc2
...@@ -1211,8 +1211,8 @@ static void SweepNewSpace(NewSpace* space) { ...@@ -1211,8 +1211,8 @@ static void SweepNewSpace(NewSpace* space) {
size = object->Size(); size = object->Size();
survivors_size += size; survivors_size += size;
if (Heap::ShouldBePromoted(current, size) && // Aggressively promote young survivors to the old space.
TryPromoteObject(object, size)) { if (TryPromoteObject(object, size)) {
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment