summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2022-03-21 15:47:35 -0700
committer Rob Carr <racarr@google.com> 2022-03-22 22:56:25 +0000
commit88b85e1f9b2fb3cf1ab9da1967e1d454be2d5be0 (patch)
tree982ecba4a76554b8bb3af9854bd3025f8973357b /libs/gui/LayerDebugInfo.cpp
parentf4b49765605223dba7b804c351a98a3c6bb676f9 (diff)
SurfaceFlinger: Detect Rel Z loops
Telemetry indicates we are sometimes seeing crashes due to infinite recursion in isHiddenByPolicy. We detect this condition (relative Z loop) and add a helpful log. The performance impact should be minimal as relative Z is rare, and the traversal isn't doing any heavy work or sp<> promotion. Bug: 213420016 Bug: 195298154 Bug: 219774897 Test: Existing tests pass Change-Id: Ia11854654e99288c5846fe7c62ebabf37daeb139
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions