| Index: src/heap-profiler.h
|
| ===================================================================
|
| --- src/heap-profiler.h (revision 13098)
|
| +++ src/heap-profiler.h (working copy)
|
| @@ -51,12 +51,16 @@
|
|
|
| static size_t GetMemorySizeUsedByProfiler();
|
|
|
| - static HeapSnapshot* TakeSnapshot(const char* name,
|
| - int type,
|
| - v8::ActivityControl* control);
|
| - static HeapSnapshot* TakeSnapshot(String* name,
|
| - int type,
|
| - v8::ActivityControl* control);
|
| + static HeapSnapshot* TakeSnapshot(
|
| + const char* name,
|
| + int type,
|
| + v8::ActivityControl* control,
|
| + v8::HeapProfiler::ObjectNameResolver* resolver);
|
| + static HeapSnapshot* TakeSnapshot(
|
| + String* name,
|
| + int type,
|
| + v8::ActivityControl* control,
|
| + v8::HeapProfiler::ObjectNameResolver* resolver);
|
|
|
| static void StartHeapObjectsTracking();
|
| static void StopHeapObjectsTracking();
|
| @@ -81,12 +85,16 @@
|
| private:
|
| HeapProfiler();
|
| ~HeapProfiler();
|
| - HeapSnapshot* TakeSnapshotImpl(const char* name,
|
| - int type,
|
| - v8::ActivityControl* control);
|
| - HeapSnapshot* TakeSnapshotImpl(String* name,
|
| - int type,
|
| - v8::ActivityControl* control);
|
| + HeapSnapshot* TakeSnapshotImpl(
|
| + const char* name,
|
| + int type,
|
| + v8::ActivityControl* control,
|
| + v8::HeapProfiler::ObjectNameResolver* resolver);
|
| + HeapSnapshot* TakeSnapshotImpl(
|
| + String* name,
|
| + int type,
|
| + v8::ActivityControl* control,
|
| + v8::HeapProfiler::ObjectNameResolver* resolver);
|
| void ResetSnapshots();
|
|
|
| void StartHeapObjectsTrackingImpl();
|
|
|