| Index: src/profile-generator.h
|
| diff --git a/src/profile-generator.h b/src/profile-generator.h
|
| index 22a0473eeaa1bf66ce88536d00ee796474c7088a..f9ae5f9d26bd5b66ff7fda38312654e5ed8073b2 100644
|
| --- a/src/profile-generator.h
|
| +++ b/src/profile-generator.h
|
| @@ -541,6 +541,7 @@ class HeapEntry BASE_EMBEDDED {
|
| HeapSnapshot* snapshot() { return snapshot_; }
|
| Type type() { return static_cast<Type>(type_); }
|
| const char* name() { return name_; }
|
| + void set_name(const char* name) { name_ = name; }
|
| inline uint64_t id();
|
| int self_size() { return self_size_; }
|
| int retained_size() { return retained_size_; }
|
| @@ -918,6 +919,7 @@ class V8HeapExplorer : public HeapEntriesAllocator {
|
| void AddRootEntries(SnapshotFillerInterface* filler);
|
| int EstimateObjectsCount(HeapIterator* iterator);
|
| bool IterateAndExtractReferences(SnapshotFillerInterface* filler);
|
| + bool IterateAndSetObjectNames(SnapshotFillerInterface* filler);
|
| void TagGlobalObjects();
|
|
|
| static String* GetConstructorName(JSObject* object);
|
| @@ -984,6 +986,7 @@ class V8HeapExplorer : public HeapEntriesAllocator {
|
| void SetGcRootsReference(VisitorSynchronization::SyncTag tag);
|
| void SetGcSubrootReference(
|
| VisitorSynchronization::SyncTag tag, bool is_weak, Object* child);
|
| + void SetObjectName(HeapObject* object);
|
| void TagObject(Object* obj, const char* tag);
|
|
|
| HeapEntry* GetEntry(Object* obj);
|
|
|