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

Unified Diff: runtime/vm/pages.h

Issue 10167005: Revert "- Free completely empty pages as part of sweep." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | runtime/vm/pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.h
diff --git a/runtime/vm/pages.h b/runtime/vm/pages.h
index c440faa794d5ad52d5daf026861cc7bb669a313c..7f6d14d38c93af32d440aa986d21cdbfcd325417 100644
--- a/runtime/vm/pages.h
+++ b/runtime/vm/pages.h
@@ -112,7 +112,6 @@ class PageSpace {
static const intptr_t kAllocatablePageSize = kPageSize - sizeof(HeapPage);
void AllocatePage();
- void FreePage(HeapPage* page, HeapPage* previous_page);
HeapPage* AllocateLargePage(intptr_t size);
void FreeLargePage(HeapPage* page, HeapPage* previous_page);
void FreePages(HeapPage* pages);
@@ -130,6 +129,7 @@ class PageSpace {
Heap* heap_;
HeapPage* pages_;
+ HeapPage* pages_tail_;
HeapPage* large_pages_;
// Page being used for bump allocation.
« no previous file with comments | « no previous file | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698