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

Unified Diff: src/heap.h

Issue 7891010: Implement shrinking of paged spaces during sweeping. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Added tracing output. Created 9 years, 3 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/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index a95e8fac583742052ca637bc30bd364c483d14ec..4a1e01dcaa3135aa4ebd452259c847f60a9e70ab 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1045,21 +1045,6 @@ class Heap {
Address end,
ObjectSlotCallback callback);
- // Iterate pointers to new space found in memory interval from start to end.
- static void IteratePointersToNewSpace(Heap* heap,
- Address start,
- Address end,
- ObjectSlotCallback callback);
-
-
- // Iterate pointers to new space found in memory interval from start to end.
- // This interval is considered to belong to the map space.
- static void IteratePointersFromMapsToNewSpace(Heap* heap,
- Address start,
- Address end,
- ObjectSlotCallback callback);
-
-
// Returns whether the object resides in new space.
inline bool InNewSpace(Object* object);
inline bool InNewSpace(Address addr);
@@ -1442,12 +1427,6 @@ class Heap {
scavenging_visitors_table_.GetVisitor(map)(map, slot, obj);
}
- bool ShouldWeGiveBackAPageToTheOS() {
- last_empty_page_was_given_back_to_the_os_ =
- !last_empty_page_was_given_back_to_the_os_;
- return last_empty_page_was_given_back_to_the_os_;
- }
-
void QueueMemoryChunkForFree(MemoryChunk* chunk);
void FreeQueuedChunks();
@@ -1818,7 +1797,6 @@ class Heap {
VisitorDispatchTable<ScavengingCallback> scavenging_visitors_table_;
- bool last_empty_page_was_given_back_to_the_os_;
MemoryChunk* chunks_queued_for_free_;
friend class Factory;
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698