| Index: src/profile-generator.h
|
| diff --git a/src/profile-generator.h b/src/profile-generator.h
|
| index 5b789ac3d4eec66be337a9a03b36289157081a8a..9b710db175cc56b4d0377c7f515264f005fb2398 100644
|
| --- a/src/profile-generator.h
|
| +++ b/src/profile-generator.h
|
| @@ -859,6 +859,8 @@ class HeapObjectsSet {
|
| void Clear();
|
| bool Contains(Object* object);
|
| void Insert(Object* obj);
|
| + const char* GetTag(Object* obj);
|
| + void SetTag(Object* obj, const char* tag);
|
|
|
| private:
|
| HashMap entries_;
|
| @@ -920,6 +922,7 @@ class V8HeapExplorer : public HeapEntriesAllocator {
|
| void AddRootEntries(SnapshotFillerInterface* filler);
|
| int EstimateObjectsCount();
|
| bool IterateAndExtractReferences(SnapshotFillerInterface* filler);
|
| + void TagGlobalObjects();
|
|
|
| static HeapObject* const kInternalRootObject;
|
|
|
| @@ -978,6 +981,7 @@ class V8HeapExplorer : public HeapEntriesAllocator {
|
| HeapSnapshotsCollection* collection_;
|
| SnapshottingProgressReportingInterface* progress_;
|
| SnapshotFillerInterface* filler_;
|
| + HeapObjectsSet objects_tags_;
|
|
|
| static HeapObject* const kGcRootsObject;
|
|
|
|
|