Index: runtime/vm/malloc_hooks.h |
diff --git a/runtime/vm/malloc_hooks.h b/runtime/vm/malloc_hooks.h |
index 852c7992ec80c696b37a8d35ea0a0afa256fe3b4..78132c756e13f9d9f04cd91e9aed0f64ca3eee09 100644 |
--- a/runtime/vm/malloc_hooks.h |
+++ b/runtime/vm/malloc_hooks.h |
@@ -5,23 +5,23 @@ |
#ifndef RUNTIME_VM_MALLOC_HOOKS_H_ |
#define RUNTIME_VM_MALLOC_HOOKS_H_ |
+#include "vm/allocation.h" |
#include "vm/globals.h" |
namespace dart { |
-class MallocHooks { |
+class JSONObject; |
+ |
+class MallocHooks : public AllStatic { |
public: |
static void InitOnce(); |
static void TearDown(); |
static void ResetStats(); |
- static bool Initialized(); |
+ static bool Active(); |
+ static void PrintToJSONObject(JSONObject* jsobj); |
static intptr_t allocation_count(); |
static intptr_t heap_allocated_memory_in_bytes(); |
- |
- private: |
- DISALLOW_ALLOCATION(); |
- DISALLOW_IMPLICIT_CONSTRUCTORS(MallocHooks); |
}; |
} // namespace dart |