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

Unified Diff: src/profile-generator.h

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
Index: src/profile-generator.h
===================================================================
--- src/profile-generator.h (revision 7216)
+++ src/profile-generator.h (working copy)
@@ -549,7 +549,10 @@
return Vector<HeapGraphEdge*>(retainers_arr(), retainers_count_); }
List<HeapGraphPath*>* GetRetainingPaths();
HeapEntry* dominator() { return dominator_; }
- void set_dominator(HeapEntry* entry) { dominator_ = entry; }
+ void set_dominator(HeapEntry* entry) {
+ ASSERT(entry != NULL);
+ dominator_ = entry;
+ }
void clear_paint() { painted_ = kUnpainted; }
bool painted_reachable() { return painted_ == kPainted; }
@@ -1001,8 +1004,9 @@
virtual HeapEntry* AllocateEntry(
HeapThing ptr, int children_count, int retainers_count);
void AddRootEntries(SnapshotFillerInterface* filler);
- int EstimateObjectsCount();
- bool IterateAndExtractReferences(SnapshotFillerInterface* filler);
+ int EstimateObjectsCount(HeapIterator* iterator);
+ bool IterateAndExtractReferences(HeapIterator* iterator,
+ SnapshotFillerInterface* filler);
static HeapObject* const kInternalRootObject;
@@ -1128,13 +1132,13 @@
bool ApproximateRetainedSizes();
bool BuildDominatorTree(const Vector<HeapEntry*>& entries,
Vector<HeapEntry*>* dominators);
- bool CountEntriesAndReferences();
- bool FillReferences();
+ bool CountEntriesAndReferences(HeapIterator* iterator);
+ bool FillReferences(HeapIterator* iterator);
void FillReversePostorderIndexes(Vector<HeapEntry*>* entries);
void ProgressStep();
bool ProgressReport(bool force = false);
bool SetEntriesDominators();
- void SetProgressTotal(int iterations_count);
+ void SetProgressTotal(HeapIterator* iterator, int iterations_count);
HeapSnapshot* snapshot_;
v8::ActivityControl* control_;
« no previous file with comments | « src/objects-visiting.cc ('k') | src/profile-generator.cc » ('j') | src/spaces-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698