commit | c93c530efc175954160c3834c93961a1a946a35a | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Thu Mar 20 16:15:37 2014 -0700 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Fri Mar 21 12:17:56 2014 -0700 |
tree | 32a389e2b4cfc3296075aed23f353b8d3042c9a5 | |
parent | faa93b3ab455492dad1a9d3fb630e3936d389c85 [diff] |
Revoke rosalloc thread-local buffers at the checkpoint. In the mark sweep collector, rosalloc thread-local buffers were revoked during the pause. Now, they are revoked at the thread checkpoint, as opposed to during the pause, which appears to help reduce the pause time. In Ritz MemAllocTest, the average sticky pause time went down ~20% (925 us -> 724 us). Bug: 13394464 Bug: 9986565 Change-Id: I104992a11b46d59264c0b9aa2db82b1ccf2826bc