diff options
| author | 2021-11-09 13:50:44 -0800 | |
|---|---|---|
| committer | 2021-11-17 14:18:43 -0800 | |
| commit | 4ad88791222c4c8df72629faa84042a6602209de (patch) | |
| tree | 5e0513565284eba0505e623aba6a0ff0d3d7fb5f /cmds/bootanimation/BootAnimation.cpp | |
| parent | eb7f4c076f47df186cf21f8de0e4150e34e431df (diff) | |
Acquire the current timestamp within the procstats lock.
This CL fixes the race condition, where timestamps could be acquired
before going to the procstats-locked code section, while the ordering
of entering the code section isn't guaranteed anyhwere, thus a call
into procstats with an earlier timestamp could happen after a call
with a later timestamp, thus confuses the bookkeeping of procstats.
Bug: 194991626
Test: CtsAppTestCases
Change-Id: I8863c3738a97a4fcce881cb21f1db4df559a7b6b
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions