summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Yichi Chen <yichichen@google.com> 2018-09-15 14:51:18 +0800
committer Yichi Chen <yichichen@google.com> 2018-09-25 08:20:19 +0000
commit738966bf16e72ca15d5cd8fcc8a6ba1533082020 (patch)
treeacb587806c13dc2874a00e11f0e6ee98541517d4 /libs/gui/ConsumerBase.cpp
parentfbaa01eb4943f209da63df048a6de21fb84a00a8 (diff)
SF: Enforce a size limitation on SurfaceTracing
SurfaceTracing records operations of each frame update. It can exhaust more than 2GB on memory heap in 5 mins if display keeps updating. Enforce a size limitation on it and stop automatically to prevent memory and storage from exhausting. Note: Merge changes Iadbc1894, I3a3e499a Bug: 115434782 Test: Trigger SurfaceTracing on/off repeatedly for thread-safe Test: Enable SurfeaceTracing and let it disabled automatically Change-Id: I52d945f86a7bc501590b7c311f63a6273b9192fd Merged-In: I52d945f86a7bc501590b7c311f63a6273b9192fd
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions