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

Unified Diff: src/mark-compact.cc

Issue 392163003: Fix PagedSpace size accounting. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add TODO Created 6 years, 5 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 | src/spaces.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mark-compact.cc
diff --git a/src/mark-compact.cc b/src/mark-compact.cc
index 08cc80323789d35493271137ba2ad59c32707b72..a2a98c74bc8004d572905eb9a81877262a0271ca 100644
--- a/src/mark-compact.cc
+++ b/src/mark-compact.cc
@@ -3947,6 +3947,7 @@ static intptr_t Free(PagedSpace* space,
if (mode == MarkCompactCollector::SWEEP_ON_MAIN_THREAD) {
return space->Free(start, size);
} else {
+ // TODO(hpayer) account for wasted bytes in concurrent sweeping too.
Hannes Payer (out of office) 2014/07/16 13:34:06 TODO(hpayer)":"
Yang 2014/07/16 13:36:16 Done.
return size - free_list->Free(start, size);
}
}
« no previous file with comments | « no previous file | src/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698