| Index: src/heap-profiler.h
|
| diff --git a/src/heap-profiler.h b/src/heap-profiler.h
|
| index 7fda883f87c1c60eca68649b4cac9793b3e06e0d..bd875df236809a1cb6e7ade710960eaa97d9de48 100644
|
| --- a/src/heap-profiler.h
|
| +++ b/src/heap-profiler.h
|
| @@ -256,6 +256,14 @@ class RetainerHeapProfile BASE_EMBEDDED {
|
| };
|
|
|
|
|
| +class ProducerHeapProfile : public AllStatic {
|
| + public:
|
| + static void Setup();
|
| + static void RecordJSObjectAllocation(Object* obj);
|
| + private:
|
| + static bool can_log_;
|
| +};
|
| +
|
| #endif // ENABLE_LOGGING_AND_PROFILING
|
|
|
| } } // namespace v8::internal
|
|
|