Index: src/profile-generator.h |
=================================================================== |
--- src/profile-generator.h (revision 13098) |
+++ src/profile-generator.h (working copy) |
@@ -851,7 +851,8 @@ |
class V8HeapExplorer : public HeapEntriesAllocator { |
public: |
V8HeapExplorer(HeapSnapshot* snapshot, |
- SnapshottingProgressReportingInterface* progress); |
+ SnapshottingProgressReportingInterface* progress, |
+ v8::HeapProfiler::ObjectNameResolver* resolver); |
virtual ~V8HeapExplorer(); |
virtual HeapEntry* AllocateEntry(HeapThing ptr); |
void AddRootEntries(SnapshotFillerInterface* filler); |
@@ -945,6 +946,7 @@ |
SnapshotFillerInterface* filler_; |
HeapObjectsSet objects_tags_; |
HeapObjectsSet strong_gc_subroot_names_; |
+ v8::HeapProfiler::ObjectNameResolver* global_object_name_resolver_; |
static HeapObject* const kGcRootsObject; |
static HeapObject* const kFirstGcSubrootObject; |
@@ -1021,7 +1023,8 @@ |
class HeapSnapshotGenerator : public SnapshottingProgressReportingInterface { |
public: |
HeapSnapshotGenerator(HeapSnapshot* snapshot, |
- v8::ActivityControl* control); |
+ v8::ActivityControl* control, |
+ v8::HeapProfiler::ObjectNameResolver* resolver); |
bool GenerateSnapshot(); |
private: |