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

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
« no previous file with comments | « src/extensions/gc-extension.cc ('k') | src/heap.h » ('j') | src/spaces-inl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.cc
===================================================================
--- src/frames.cc (revision 7216)
+++ src/frames.cc (working copy)
@@ -1121,13 +1121,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);
}
« no previous file with comments | « src/extensions/gc-extension.cc ('k') | src/heap.h » ('j') | src/spaces-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698