commit | 6f4d2f5423e74ac31a79e3a112a3b31bfb5d2015 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Thu Aug 10 12:33:12 2023 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Thu Aug 10 12:35:55 2023 -0700 |
tree | 79448f9130fefeda530028e2159293372050923f | |
parent | 774bcbe5c307aeb0e61203294948709fad2b4b45 [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