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
This commit is contained in:
parent
0908fdc2f8
commit
ef464f0c59
@ -1211,8 +1211,8 @@ static void SweepNewSpace(NewSpace* space) {
|
||||
size = object->Size();
|
||||
survivors_size += size;
|
||||
|
||||
if (Heap::ShouldBePromoted(current, size) &&
|
||||
TryPromoteObject(object, size)) {
|
||||
// Aggressively promote young survivors to the old space.
|
||||
if (TryPromoteObject(object, size)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user