summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2021-09-14 08:57:16 -0800
committerWu Ahan <ahanwu@google.com>2021-11-02 12:23:06 +0000
commitaac160b107bada150bee880a298902d0ee5464d0 (patch)
treeaa2764bea6a65def0e12a7f7b17adf94a74de795 /libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp
parent8361670412790336f213ebb9d35cc569590140cb (diff)
Remove deadlock path between InteractionJankMonitor and FrameTracker
A deadlock path is found: - FrameTracker$1.lambda$surfaceDestroyed (held A) - InteractionJankMonitor.end (held B) -> FrameTracker.end (wait for A) - FrameTracker.end -> InteractionJankMonitor.handleCujEvents (wait for B) This cl resolves this by using a single lock among monitor and tracker. Bug: 197804653 Test: atest InteractionJankMonitorTest --rerun-until-failure 100 Test: atest FrameTrackerTest --rerun-until-failure 100 Change-Id: Ia6aa196370bdb51b8a5c84c74a3d174a3d4b689f
Diffstat (limited to 'libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp')
0 files changed, 0 insertions, 0 deletions