Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 1e4d2f927d930158fd832f88b6b3b884a074e2ff..b78b76fc75a0399c96f225bd04d60845f82c34bb 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -131,6 +131,7 @@ class Isolate; |
class DeclaredAccessorDescriptor; |
class ObjectOperationDescriptor; |
class RawOperationDescriptor; |
+class HeapProfiler; |
namespace internal { |
@@ -3023,6 +3024,12 @@ class V8EXPORT Isolate { |
*/ |
intptr_t AdjustAmountOfExternalAllocatedMemory(intptr_t change_in_bytes); |
+ /** |
+ * Returns heap profiler for this isolate. Will return NULL until the isolate |
+ * is initialized. |
+ */ |
+ HeapProfiler* GetHeapProfiler(); |
+ |
private: |
Isolate(); |
Isolate(const Isolate&); |