OSDN Git Service

Print memory usage in dex2oat shutdown
authorMathieu Chartier <mathieuc@google.com>
Tue, 2 Dec 2014 23:43:48 +0000 (15:43 -0800)
committerMathieu Chartier <mathieuc@google.com>
Wed, 3 Dec 2014 00:37:07 +0000 (16:37 -0800)
commit3029df6d212894647ba0e5c23443c40912c6ecc8
treec327d3b511c88536c4ff128243fe4ef5f24b3cb1
parent99f50c41b99504f2aaeea3b967c41301482749ac
Print memory usage in dex2oat shutdown

Example on mako:
I/dex2oat (31071): dex2oat took 31.195s (threads: 2) arena alloc=1013KB java alloc=13MB native alloc=32MB free=1490KB

Bug: 18069309

Change-Id: I08eac00842be35d4e659bddc8513f2062be725c9
build/Android.common_build.mk
compiler/driver/compiler_driver.h
compiler/utils/arena_allocator.cc
compiler/utils/arena_allocator.h
dex2oat/dex2oat.cc