diff options
author | Makoto Onuki <omakoto@google.com> | 2018-11-05 15:53:53 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2018-11-05 16:01:09 -0800 |
commit | 3a8e5c50bc133cc035b5f63fbde4a712ae7ada6f (patch) | |
tree | 32a56091bd60caaf48873dcfa7db7c407164e3d2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 20e5558d66e4fa63a6c976f69a69e9be0484e8b5 (diff) |
Fix "Tracking association..." logspam.
In the previous code, updateTrackingAssociationsLocked() was called too early.
There's still code that changes procstates, so let's move
updateTrackingAssociationsLocked() to the end of updateOomAdjLocked().
Also change Slog.w() to Slog.wtf() so we can monitor it on APR.
Also rate limit the WTF to at most one in ten seconds.
Bug: 118826162
Test: Boot with and without the fix and make sure the number of the warnings
reduces.
(We still have a couple WTFs from during a boot with this CL, which requires
further investigation.)
Change-Id: Ifa1fe85de82fa1d1d8f843372c54c1248966a62a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions