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

Unified Diff: runtime/vm/malloc_hooks_unsupported.cc

Issue 2678313003: Fix for issue 28638 - flakiness on dartkp-dart-precompiled caused by MallocHooks (Closed)
Patch Set: Address self review comments. Created 3 years, 10 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.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/malloc_hooks_unsupported.cc
diff --git a/runtime/vm/malloc_hooks_unsupported.cc b/runtime/vm/malloc_hooks_unsupported.cc
index 47d0a0bbed5ac0647c1face21b9bf31aa57c611f..733e3ded74efdad658a44870dfedb9d540701805 100644
--- a/runtime/vm/malloc_hooks_unsupported.cc
+++ b/runtime/vm/malloc_hooks_unsupported.cc
@@ -25,11 +25,16 @@ void MallocHooks::ResetStats() {
}
-bool MallocHooks::Initialized() {
+bool MallocHooks::Active() {
return false;
}
+void MallocHooks::PrintToJSONObject(JSONObject* jsobj) {
+ // Do nothing.
+}
+
+
intptr_t MallocHooks::allocation_count() {
return 0;
}
« no previous file with comments | « runtime/vm/malloc_hooks.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698