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

Unified Diff: src/spaces.cc

Issue 7044082: Minor cleanup of StoreBuffer related heap iteration methods. (Closed) Base URL: https://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') | src/store-buffer.h » ('j') | src/store-buffer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spaces.cc
diff --git a/src/spaces.cc b/src/spaces.cc
index 2088ccc585b56db8c16ff30329cb3d1360302ac7..0b105ccd7f62ac9072782dd6d52348623cdcbff8 100644
--- a/src/spaces.cc
+++ b/src/spaces.cc
@@ -2147,25 +2147,6 @@ LargePage* LargeObjectSpace::FindPageContainingPc(Address pc) {
}
-void LargeObjectSpace::IteratePointersToNewSpace(
- ObjectSlotCallback copy_object) {
- LargeObjectIterator it(this);
- for (HeapObject* object = it.Next(); object != NULL; object = it.Next()) {
- // We only have code, sequential strings, or fixed arrays in large
- // object space, and only fixed arrays can possibly contain pointers to
- // the young generation.
- if (object->IsFixedArray()) {
- // TODO(gc): we can no longer assume that LargePage is bigger than normal
- // page.
-
- Address start = object->address();
- Address object_end = start + object->Size();
- heap()->IteratePointersToNewSpace(heap(), start, object_end, copy_object);
- }
- }
-}
-
-
void LargeObjectSpace::FreeUnmarkedObjects() {
LargePage* previous = NULL;
LargePage* current = first_page_;
« no previous file with comments | « src/spaces.h ('k') | src/store-buffer.h » ('j') | src/store-buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698