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

Unified Diff: runtime/vm/heap.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
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | runtime/vm/object_set.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index 63f35d877c036b5d41e2cc8916d5279dd24ef5e1..deae0a0bfed37e580b6ab50d0aa6a20b325667f0 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -166,7 +166,8 @@ class Heap {
intptr_t Collections(Space space) const;
- ObjectSet* CreateAllocatedObjectSet(MarkExpectation mark_expectation) const;
+ ObjectSet* CreateAllocatedObjectSet(Zone* zone,
+ MarkExpectation mark_expectation) const;
static const char* GCReasonToString(GCReason gc_reason);
@@ -329,10 +330,7 @@ class Heap {
bool BeginOldSpaceGC(Thread* thread);
void EndOldSpaceGC();
- // If this heap is non-empty, updates start and end to the smallest range that
- // contains both the original [start, end) and the [lowest, highest) addresses
- // of this heap.
- void GetMergedAddressRange(uword* start, uword* end) const;
+ void AddRegionsToObjectSet(ObjectSet* set) const;
Isolate* isolate_;
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | runtime/vm/object_set.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698