Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Side by Side Diff: runtime/vm/malloc_hooks_unsupported.cc

Issue 2625613002: Implemented basic heap memory allocation tracking in MallocHooks using hooks registered with tcmall… (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/malloc_hooks.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #if defined(DART_USE_TCMALLOC) 5 #if !defined(DART_USE_TCMALLOC)
6 6
7 #include "vm/malloc_hooks.h" 7 #include "vm/malloc_hooks.h"
8 8
9 namespace dart { 9 namespace dart {
10 10
11 void MallocHooks::Init() { 11 void MallocHooks::Init() {
12 // TODO(bkonyi): Implement 12 // Do nothing.
13 }
14
15
16 void MallocHooks::TearDown() {
17 // Do nothing.
13 } 18 }
14 19
15 } // namespace dart 20 } // namespace dart
16 21
17 #endif // defined(DART_USE_TCMALLOC) 22 #endif // defined(DART_USE_TCMALLOC)
OLDNEW
« no previous file with comments | « runtime/vm/malloc_hooks.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698