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

Unified Diff: runtime/vm/malloc_hooks_arm64.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_arm.cc ('k') | runtime/vm/malloc_hooks_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/malloc_hooks_arm64.cc
diff --git a/runtime/vm/malloc_hooks_arm64.cc b/runtime/vm/malloc_hooks_arm64.cc
new file mode 100644
index 0000000000000000000000000000000000000000..53f2970ce90f04e27974a4aab25c7ef12fec6f31
--- /dev/null
+++ b/runtime/vm/malloc_hooks_arm64.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_ARM64)
+
+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_ARM64)
« no previous file with comments | « runtime/vm/malloc_hooks_arm.cc ('k') | runtime/vm/malloc_hooks_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698