summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2024-06-21 22:06:14 +0000
committer Vishnu Nair <vishnun@google.com> 2024-06-21 22:14:22 +0000
commit11db98694208cefcdd06fdaad2a63514b168d27f (patch)
treebab285b8fd4b4111c1a8d0c7901b2942e2198679 /services/surfaceflinger/RegionSamplingThread.cpp
parente5b8ea3099cf14087d1d1209cde1aa1bc77ed1fb (diff)
Get window info debug data without holding the statelock
Avoids a deadlock with mStateLock when calling dumpsys SurfaceFlinger. Deadlock happens because we make a blocking call into the background thread holding the mStateLock. Background thread may try to hold the mStateLock when destroying a layer handle which can result in a deadlock. Flag: EXEMPT bugfix Test: presubmit, run dumpsys Fixes: 347142017 Change-Id: Icda6d4ee0ead70a4d76a4f6fe766fdf40bae6d2c
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions