summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegdecoderhelper.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-08-10 12:33:12 -0700
committer Vishnu Nair <vishnun@google.com> 2023-08-10 12:35:55 -0700
commit6f4d2f5423e74ac31a79e3a112a3b31bfb5d2015 (patch)
tree79448f9130fefeda530028e2159293372050923f /libs/ultrahdr/jpegdecoderhelper.cpp
parent774bcbe5c307aeb0e61203294948709fad2b4b45 (diff)
[SurfaceComposerClient] Avoid mSurfaceStats mutex contention
Previous logic acquired mSurfaceStats mutex and called the listeners with the mutex held between buffer releases. Instead release all the buffers before handling surface stats listener callbacks and updating jank data. Bug: 294935709 Test: presubmit and perfetto traces Change-Id: Ie90ccde431059bdcdb6900148c6027d313e7434f
Diffstat (limited to 'libs/ultrahdr/jpegdecoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions