summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2017-05-19 16:47:53 -0700
committerCalin Juravle <calin@google.com>2017-05-26 10:59:42 -0700
commite276589f2f14f217018f323f5457790b84569fb4 (patch)
tree5fe82b77ebfd60c251f567d136a64f3ddb6efacd /test/ProfileTestMultiDex/Main.java
parent4ac75160660028214d168b971956ae8a36e40db2 (diff)
Use arena allocation for profiles
By using our arena allocator we can madvise the memory used during profile processing right way. jemalloc may defer the release based on unpredictable native allocation. The other advantage of arenas is a much simpler way to measure the memory needed by profiles. Test: m test-art-host Test: manual inspection with meminfo and heaptrack Bug: 37711886 (cherry picked from commit cc3171ab3af35b4e4ad5671d7425aa8a6bfcc5f3) This change also squashes 2 fixes on the orginal submit. (cherry picked from commit 798ba16bda747d74a27b7a748d3bb5deb2ccbf68) (cherry picked from commit e6f87cc95e5351f3872a4c50e18915a282578ff8) (partial cherry picked from commit 55232f13e4a34ab36c13f337642b57f9def00da8 to fix dexdiag formating and please the bot) Merged-In: I2066b6654438474c10b17d5d92538a6095748684 Change-Id: I91741229a807c777631ef324fc3f397c9a0c18e3 Bug: 37711886
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions