OSDN Git Service

Add methods with samples during launch to profile
authorMathieu Chartier <mathieuc@google.com>
Wed, 18 May 2016 15:51:52 +0000 (08:51 -0700)
committerMathieu Chartier <mathieuc@google.com>
Tue, 24 May 2016 22:58:32 +0000 (15:58 -0700)
commitc600eaa1089342db81ac1869437199efc1f6053b
tree22d64c5a21b61afbcd401f39d5c743150bc5f3e3
parent1621936c1bdf8263e7e9f2d88f16ccaad5d3de81
Add methods with samples during launch to profile

For the snapshot taken after application launch we look at all of
the methods with one or more samples.

Launch time:
books: 1933ms -> 1457ms (33% speedup).
plus: 1361ms -> 1260ms (8% speedup)
music: 3085ms -> 2963ms (4% speedup)
maps: 1583ms -> 1390ms (14% speedup)

Oat sizes:
books: 10871424 -> 13365888 (+23%)
plus: 17715624 -> 19493288 (+13%)
music: 17076864 -> 18289280 (+7%)
maps: 32264832 -> 35787392 (+12%)

Bug: 28750506

Change-Id: I3a955dc74b41a96911254ac5087de77bea2267c7
runtime/jit/profile_saver.cc
runtime/jit/profile_saver.h