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

Unified Diff: src/spaces.cc

Issue 7104136: GC branch: Some changes to make V8 work with different page sizes. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 6 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 | « src/spaces.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spaces.cc
===================================================================
--- src/spaces.cc (revision 8270)
+++ src/spaces.cc (working copy)
@@ -728,14 +728,6 @@
}
-void PagedSpace::SetAllocationInfo(Address top, Address limit) {
- Free(allocation_info_.top, allocation_info_.limit - allocation_info_.top);
- allocation_info_.top = top;
- allocation_info_.limit = limit;
- ASSERT(allocation_info_.VerifyPagedAllocation());
-}
-
-
bool PagedSpace::Expand() {
ASSERT(max_capacity_ % Page::kObjectAreaSize == 0);
ASSERT(Capacity() % Page::kObjectAreaSize == 0);
@@ -1057,6 +1049,7 @@
// Next page should be valid.
CHECK(!page->is_anchor());
current = page->body();
+ continue;
Vyacheslav Egorov (Chromium) 2011/06/14 10:59:09 I do not think this is necessary.
Erik Corry 2011/06/14 18:51:21 It made a bug go away for me. If the last object
Lasse Reichstein 2011/06/15 06:56:27 It should be there. There is nothing preventing to
}
// The allocation pointer should not be in the middle of an object.
CHECK(!page->ContainsLimit(top()) || current < top());
« no previous file with comments | « src/spaces.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698