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, 22 Apr 2016 15:10:19 +0000 (16:10 +0100)
commitb9c1b9bdd7689c0e80c64c371581f99e53749e05
tree5357b90f2281ac4abf5a89323441a255ab35e702
parentb8e69994d10534e0f4f96878725bc53e531f2c6f
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

(cherry picked from commit c15e566b36170237f01ccefc12129c1578a02140)

Change-Id: Iecc730c25eab779efccbbde66432dbbc61192e8a
runtime/jit/profile_saver.cc
runtime/jit/profile_saver.h
runtime/utils.cc
runtime/utils.h