| Index: include/v8-profiler.h
|
| diff --git a/include/v8-profiler.h b/include/v8-profiler.h
|
| index 0ed6c5d216b3f8708bea6ae794937b18f844591f..45457c8ff445fb1d6bf274a0a4d71cc8f303eaaf 100644
|
| --- a/include/v8-profiler.h
|
| +++ b/include/v8-profiler.h
|
| @@ -393,6 +393,19 @@ class V8_EXPORT HeapProfiler {
|
| SnapshotObjectId GetObjectId(Handle<Value> value);
|
|
|
| /**
|
| + * Returns heap object with given SnapshotObjectId if the object is alive,
|
| + * otherwise empty handle is returned.
|
| + */
|
| + Local<Value> FindHeapObjectById(SnapshotObjectId id);
|
| +
|
| + /**
|
| + * Clears internal map from SnapshotObjectId to heap object. The new objects
|
| + * will not be added into it unless a heap snapshot is taken or heap object
|
| + * tracking is kicked off.
|
| + */
|
| + void ClearHeapObjectIds();
|
| +
|
| + /**
|
| * A constant for invalid SnapshotObjectId. GetSnapshotObjectId will return
|
| * it in case heap profiler cannot find id for the object passed as
|
| * parameter. HeapSnapshot::GetNodeById will always return NULL for such id.
|
|
|