diff options
author | Jeff Hao <jeffhao@google.com> | 2014-09-15 18:03:41 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2014-09-17 14:31:55 -0700 |
commit | 69dbec6d9d55eeb2867949c2791d01dc9aa916c8 (patch) | |
tree | be4eca8161eafb4a8466f5adf28a2c8f27cd37d1 /runtime/runtime.h | |
parent | 926d8e99aa69151a271180299df68963688010d8 (diff) | |
download | android_art-69dbec6d9d55eeb2867949c2791d01dc9aa916c8.tar.gz android_art-69dbec6d9d55eeb2867949c2791d01dc9aa916c8.tar.bz2 android_art-69dbec6d9d55eeb2867949c2791d01dc9aa916c8.zip |
Avoid suspending for alloc trace enabling when already suspended.
Bug: 17499772
(cherry picked from commit 1d6ee090fddd4bfd35c304d6ceb929d5c529dfcc)
Change-Id: Id09809c476c685f0a197ee75bb08638931364efd
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index cfb1abc477..f9c017b278 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -390,7 +390,7 @@ class Runtime { void ResetStats(int kinds); - void SetStatsEnabled(bool new_state); + void SetStatsEnabled(bool new_state, bool suspended); enum class NativeBridgeAction { // private kUnload, |