OSDN Git Service

Fix and tune ProfileSaver
authorCalin Juravle <calin@google.com>
Wed, 30 Mar 2016 17:18:58 +0000 (18:18 +0100)
committerCalin Juravle <calin@google.com>
Fri, 22 Apr 2016 15:13:17 +0000 (16:13 +0100)
commit698f4d1102e772a9dd1c4a224bff0f3eec03e6cb
tree46f6d375c43f5f8974e85c2aeb21aa159621ed5e
parent050fb1bd34ef8b1df342b3a5e10b7b27a466090f
Fix and tune ProfileSaver

- the statement to mark the profile saved was not guarded by the right
condition.
- increase the backoff to 2x and maximum period time to 10 minutes.

As part of this change also
- fix typos
- remove uneeded warning
- add more VLOGs for easier debuging in the future

Bug: 27914456

(cherry picked from commit 0cdaa6cdbeadceaee3a1acc641e7cc2548e125d9)

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