commit | cf4b2542fae9d6c5d3788c6a935824094fb1c1ea | [log] [tgz] |
---|---|---|
author | Yusuke Sato <yusukes@google.com> | Wed Jun 17 00:21:28 2015 -0700 |
committer | Yusuke Sato <yusukes@google.com> | Wed Jun 17 18:19:08 2015 -0700 |
tree | 40baabb9ef30655a7c39c04d8ad6e78a012e9753 | |
parent | f4d225a4b502ef227788447eb1a5bb2902019c01 [diff] |
Trace Process.killProcessGroup calls in server/am/ to make it easier to find boot time regressions like 21813611 and 21861473. Process.killProcessGroup is a blocking call and usually takes about 50ms to finish on a recent device even when the process group contains only one process. Since Process.killProcessGroup tends to be called in a loop, the function can be a bottleneck. Bug: 21813611 Change-Id: I9c1727c0c0b321a30c96321198cc02f438496ded