Index: vm/pages.h |
=================================================================== |
--- vm/pages.h (revision 6294) |
+++ vm/pages.h (working copy) |
@@ -44,6 +44,8 @@ |
void VisitObjectPointers(ObjectPointerVisitor* visitor) const; |
+ RawObject* FindObject(FindObjectVisitor* visitor) const; |
+ |
private: |
static HeapPage* Initialize(VirtualMemory* memory, bool is_executable); |
static HeapPage* Allocate(intptr_t size, bool is_executable); |
@@ -86,6 +88,8 @@ |
void VisitObjectPointers(ObjectPointerVisitor* visitor) const; |
+ RawObject* FindObject(FindObjectVisitor* visitor) const; |
+ |
// Collect the garbage in the page space using mark-sweep. |
void MarkSweep(bool invoke_api_callbacks); |