| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index bb9ba2350af2e258dab1a0097275d1443245a785..f2178ed43ab4d359f334d919ad10ecb1302a4dee 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -6237,6 +6237,27 @@ const HeapSnapshot* HeapProfiler::TakeSnapshot(Handle<String> title,
|
| }
|
|
|
|
|
| +void HeapProfiler::StartHeapObjectsTracking() {
|
| + i::Isolate* isolate = i::Isolate::Current();
|
| + IsDeadCheck(isolate, "v8::HeapProfiler::StartHeapObjectsTracking");
|
| + i::HeapProfiler::StartHeapObjectsTracking();
|
| +}
|
| +
|
| +
|
| +void HeapProfiler::StopHeapObjectsTracking() {
|
| + i::Isolate* isolate = i::Isolate::Current();
|
| + IsDeadCheck(isolate, "v8::HeapProfiler::StopHeapObjectsTracking");
|
| + i::HeapProfiler::StopHeapObjectsTracking();
|
| +}
|
| +
|
| +
|
| +void HeapProfiler::PushHeapObjectsStats(OutputStream* stream) {
|
| + i::Isolate* isolate = i::Isolate::Current();
|
| + IsDeadCheck(isolate, "v8::HeapProfiler::PushHeapObjectsStats");
|
| + return i::HeapProfiler::PushHeapObjectsStats(stream);
|
| +}
|
| +
|
| +
|
| void HeapProfiler::DeleteAllSnapshots() {
|
| i::Isolate* isolate = i::Isolate::Current();
|
| IsDeadCheck(isolate, "v8::HeapProfiler::DeleteAllSnapshots");
|
|
|