commit | ca49f4905326763333c5fa413a2affa74d3d863d | [log] [tgz] |
---|---|---|
author | Chris Wailes <chriswailes@google.com> | Tue May 21 16:23:50 2019 -0700 |
committer | Chris Wailes <chriswailes@google.com> | Fri Jun 07 13:25:53 2019 -0700 |
tree | af6533a3af14fb76a582bbc12e18ee7aedaf689b | |
parent | 3d7482189fa44dadd34b941c2046dbd35724f904 [diff] |
Adjust Java Language thread priority in new processes. Previously init started the Zygote with -20 nice value and then immediately switched it to 0 in ZygoteInit.main so that new applications forked from the Zygote have the correct Java Language thread priority. This patch delays this priority change so that it only affects the new processes and not the priority of the Zygote. Test: m & flash & check ps Change-Id: Id00d0cfd642f02640c40b6e7b2aa8933a320b60c