Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: src/mark-compact.cc

Issue 1759005: Switch to aggresive promotion in mark-sweep collections. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mark-compact.cc
===================================================================
--- src/mark-compact.cc (revision 4452)
+++ src/mark-compact.cc (working copy)
@@ -1210,8 +1210,8 @@
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698