commit | 7c928f0f9c56321babadab20e398e646f819a47d | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Jun 05 17:23:44 2017 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Jun 06 09:47:26 2017 -0700 |
tree | bc84e795a611e2ccd158eac0c54e709011266a3f | |
parent | c3e822bde47305d178a8014f51ff9fba59d70d1e [diff] |
Combine madvise for clearing region space Reduce how many madvise calls there are so that the mmap semaphore has less contention. Reduces the number of madvice calls from clearing regions when doing few random camera gestures by ~80%. Test: test-art-host Bug: 62194020 (cherry picked from commit 1f0dc6f98833ece47617e45e3ad9689f4b248b80) Change-Id: I506722f3d26d392278fdc68120bb64eec0768ddf