summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-04-11 14:40:10 -0600
committerJeff Sharkey <jsharkey@android.com>2016-04-11 14:40:34 -0600
commit5cbcb52b96b5a2b97234381af59002fbe32593cd (patch)
treef71813c776c516b955f4d8548fe7d9bb320f0eb8 /libs/hwui/renderthread/DrawFrameTask.cpp
parented2edc7a8e044e31a6c9db638c97f9c21fb1d946 (diff)
Rate-limit how often we collect wtf() logs.
We've seen that aggressive Log.wtf() calls can DoS the system process, since we fork and collect recent logcat output for each call. After this CL, we rate-limit to only perform this heavy lifting 5 times during any given 10 second window of time. We still log the wtf() message to the binary event log. Bug: 28117774, 28052546, 27994717, 27381069 Change-Id: Ic91b23fe7ee26818083a8d40fd4850fcb9d93643
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions