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

Unified Diff: runtime/vm/scavenger.h

Issue 2349023002: Remove assumption from the heap verifier that objects occupy a narrow range of the address space. (Closed)
Patch Set: . Created 4 years, 3 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: runtime/vm/scavenger.h
diff --git a/runtime/vm/scavenger.h b/runtime/vm/scavenger.h
index 8fce1a4bb8bace7a5b936922a026c46991a7af8a..798470cf936e968b06c78565721d1ec6a207bedb 100644
--- a/runtime/vm/scavenger.h
+++ b/runtime/vm/scavenger.h
@@ -22,6 +22,7 @@ namespace dart {
class Heap;
class Isolate;
class JSONObject;
+class ObjectSet;
class ScavengerVisitor;
// Wrapper around VirtualMemory that adds caching and handles the empty case.
@@ -181,10 +182,7 @@ class Scavenger {
void VisitObjects(ObjectVisitor* visitor) const;
void VisitObjectPointers(ObjectPointerVisitor* visitor) const;
- void StartEndAddress(uword* start, uword* end) const {
- *start = to_->start();
- *end = to_->end();
- }
+ void AddRegionsToObjectSet(ObjectSet* set) const;
void WriteProtect(bool read_only);
« runtime/vm/object_set.h ('K') | « runtime/vm/pages.cc ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698