diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-05-18 19:51:23 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-05-18 19:55:42 -0700 |
commit | 0ec065d55ccc4eb0956b0a2231bcc8c1a6d1d273 (patch) | |
tree | f7e670aa01a0f1a90fcf6ca61d8626c78289580b /test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java | |
parent | 3fdf31d101819d4e0200e80d1692ffcbe785af90 (diff) |
Fix profile saver initial wait
Was using TimedWait for the initial wait, but this can return
early if the process receives any interrupt (due to futex). The
solution is to use a wait loop. If the wait returned early, not
enough classes were including in the profile. This negatively
affected application launch times in some scenarios.
Sample wait times before the change:
Waited 2.002s
Waited 97.808ms
Waited 182.676ms
Waited 2.000s
Waited 1.678s
Bug: 27688727
Change-Id: Ia84878e1278d70b4cc239374a2107d0f111dbdc5
Diffstat (limited to 'test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java')
0 files changed, 0 insertions, 0 deletions