summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2017-05-11 17:25:23 -0700
committerDianne Hackborn <hackbod@google.com>2017-05-12 13:37:48 -0700
commitf4dd3711d1164ce6a442306615cac99119022215 (patch)
treecc648f4a2bb6c1ff2efdcca2eb68cbc2328991f9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentfb194bb81c234faa7b4e7253f8cf4228dbda4534 (diff)
Work on issue #38242094: Activity manager oom adj computation seems broken
This shouldn't change any behavior, but improve the reason we report for each process's oom_adj / proc state level. There are two significant things going on here: 1. We now consider a bump up in proc state to be just as significant as a change in oom_adj, and accordingly update the reason when this happens. Given how many proc stats we now have mapped to some of the single oom_adj levels, this matches your expectation to have the reason be why it is at that proc state and not just some random other thing at that level. 2. There is special handling of an app at the top state connecting to another app, deciding the actual state to apply at the end. This was not at that point updating the reason, so anything the top app is connected to would get the top state but myseriously have some other reason, looking very broken. We now propagate the reason over. Test: manual Change-Id: Idecbe206d73e7c4cbd989ef6faf3b1679e06c088
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions