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

Unified Diff: vm/heap.h

Issue 9791048: - Wire the stack frame iterator to use stack maps for traversing objects if there are stack maps in… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 | « vm/disassembler_ia32.cc ('k') | vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/heap.h
===================================================================
--- vm/heap.h (revision 6294)
+++ vm/heap.h (working copy)
@@ -84,6 +84,15 @@
void IterateOldPointers(ObjectPointerVisitor* visitor);
void IterateCodePointers(ObjectPointerVisitor* visitor);
+ // Find an object by visiting all pointers in the specified heap space,
+ // the 'visitor' is used to determine if an object is found or not.
+ // The 'visitor' function should be set up to return true if the
+ // object is found, traversal through the heap space stops at that
+ // point.
+ // The 'visitor' function should return false if the object is not found,
+ // traversal through the heap space continues.
+ RawInstructions* FindObjectInCodeSpace(FindObjectVisitor* visitor);
+
void CollectGarbage(Space space);
void CollectGarbage(Space space, ApiCallbacks api_callbacks);
void CollectAllGarbage();
« no previous file with comments | « vm/disassembler_ia32.cc ('k') | vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698