OSDN Git Service

Improve resolved classes saving strategy
authorCalin Juravle <calin@google.com>
Thu, 17 Mar 2016 17:07:52 +0000 (17:07 +0000)
committerCalin Juravle <calin@google.com>
Fri, 18 Mar 2016 16:12:28 +0000 (16:12 +0000)
commitc15e566b36170237f01ccefc12129c1578a02140
tree2923afc515ccec7972d1cfb39a0cf5429876b7aa
parentc19c1c2e1def1f4f5ab5fd9e71b1a6f76d42988f
Improve resolved classes saving strategy

If we already have a non empty profile file it means that we already
saved once the resolved classes. So there's no need to hurry up and
start the profile saver eagerly after 2s.

Bug: 27600652
Change-Id: I92ac5869bf68c8d6cbac8fc1503fe3c4930241b4
runtime/jit/profile_saver.cc
runtime/jit/profile_saver.h
runtime/utils.cc
runtime/utils.h