summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2016-05-18 19:51:23 -0700
committerMathieu Chartier <mathieuc@google.com>2016-05-19 10:07:22 -0700
commita57305e9e128bf4330cd02ed8ba66cacca018327 (patch)
tree9dfcb088363bf77afa064ffd621320da6f6d1956 /compiler/optimizing/graph_visualizer.cc
parent6c313600e995ac81a6e68e84b64761a10fb1311c (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 (cherry picked from commit 0ec065d55ccc4eb0956b0a2231bcc8c1a6d1d273) Change-Id: I7cfdda9dcff942c7618d6022a0c31f872fb76fcf
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions