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

Unified Diff: src/frames.cc

Issue 6639024: Get rid of distinction between below- and above-watermark in page allocation.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 9 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
Index: src/frames.cc
===================================================================
--- src/frames.cc (revision 7102)
+++ src/frames.cc (working copy)
@@ -1126,13 +1126,13 @@
LargePage* large_page = Heap::lo_space()->FindPageContainingPc(pc);
if (large_page != NULL) return GcSafeCastToCode(large_page->GetObject(), pc);
- // Iterate through the 8K page until we reach the end or find an
- // object starting after the pc.
+ // Iterate through the page until we reach the end or find an object starting
+ // after the pc.
Page* page = Page::FromAddress(pc);
HeapObjectIterator iterator(page, Heap::GcSafeSizeOfOldObjectFunction());
HeapObject* previous = NULL;
while (true) {
- HeapObject* next = iterator.next();
+ HeapObject* next = iterator.Next();
if (next == NULL || next->address() >= pc) {
return GcSafeCastToCode(previous, pc);
}

Powered by Google App Engine
This is Rietveld 408576698