diff options
author | Elliott Hughes <enh@google.com> | 2013-07-11 17:23:15 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-07-11 17:23:15 -0700 |
commit | 1778d17feda232e5f794ba1ebdf400a600a17fd8 (patch) | |
tree | 3a821c2291d2195c0dc25543e5d3ce06c906f0e8 /vm/Globals.h | |
parent | f8fe8731a5302105b285d549e4a0265a35db3e2e (diff) | |
download | android_dalvik-1778d17feda232e5f794ba1ebdf400a600a17fd8.tar.gz android_dalvik-1778d17feda232e5f794ba1ebdf400a600a17fd8.tar.bz2 android_dalvik-1778d17feda232e5f794ba1ebdf400a600a17fd8.zip |
Increase the default alloc tracker maximum.
Also add a new system property "dalvik.vm.allocTrackerMax" that allows
developers to choose an arbitrary limit.
Change-Id: I246a31d0ee46557544b1babae412246914495f80
Diffstat (limited to 'vm/Globals.h')
-rw-r--r-- | vm/Globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/Globals.h b/vm/Globals.h index cb71b11a8..1c0cb8cef 100644 --- a/vm/Globals.h +++ b/vm/Globals.h @@ -646,6 +646,7 @@ struct DvmGlobals { AllocRecord* allocRecords; int allocRecordHead; /* most-recently-added entry */ int allocRecordCount; /* #of valid entries */ + int allocRecordMax; /* Number of allocated entries. */ /* * When a profiler is enabled, this is incremented. Distinct profilers |