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

Unified Diff: runtime/vm/malloc_hooks_x64.cc

Issue 2771293003: Resubmission of native memory allocation info surfacing in Observatory. Fixed crashing tests and st… (Closed)
Patch Set: Added page to Observatory to display native memory allocation information. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/malloc_hooks_unsupported.cc ('k') | runtime/vm/profiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/malloc_hooks_x64.cc
diff --git a/runtime/vm/malloc_hooks_x64.cc b/runtime/vm/malloc_hooks_x64.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6cca793a90f4e35da9b36cb5e68a3c5358b46429
--- /dev/null
+++ b/runtime/vm/malloc_hooks_x64.cc
@@ -0,0 +1,21 @@
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+#include "vm/malloc_hooks.h"
+
+#include "vm/globals.h"
+
+#if defined(TARGET_ARCH_X64)
+
+namespace dart {
+
+#if defined(DEBUG)
+const intptr_t kSkipCount = 6;
+#elif !(defined(PRODUCT) || defined(DEBUG))
+const intptr_t kSkipCount = 5;
+#endif
+
+} // namespace dart
+
+#endif // defined(TARGET_ARCH_X64)
« no previous file with comments | « runtime/vm/malloc_hooks_unsupported.cc ('k') | runtime/vm/profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698