Commit 7c928f0f authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

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 1f0dc6f9)

Change-Id: I506722f3d26d392278fdc68120bb64eec0768ddf
parent c3e822bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment