Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index d2b571567d8a857fb1190ca13edba9e5dc09f982..e65999fec6aacd87f4f891b193e3ef6db3e2b592 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -109,6 +109,7 @@ class DeclaredAccessorDescriptor; |
class External; |
class Function; |
class FunctionTemplate; |
+class HeapProfiler; |
class ImplementationUtilities; |
class Int32; |
class Integer; |
@@ -3022,6 +3023,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&); |