summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorLokesh Gidra <lokeshgidra@google.com>2019-05-13 18:45:09 -0700
committerLokesh Gidra <lokeshgidra@google.com>2019-05-15 16:46:08 +0000
commitbaa99adfc7154a9d8b12736752e44e199a5fbbf0 (patch)
tree0d8f14153c67c3d5970a492e0b5b0b2039e03f2b /test/ProfileTestMultiDex/Main.java
parentb5649f9b2bce5f4e90be7e2ccfbb9e33ff3105a0 (diff)
Optimize RegionSpace::ClearFromSpace()
We perform madvise() and mprotect() syscalls in RegionSpace::ClearFromSpace() for every region that we reclaim. This was being done while holding region_lock_. This has the potential to stall the TLAB allocation requests. In this CL, we pull out system calls out of the critical section of region_lock_. Bug: 132463704 Test: art/test/testrunner/testrunner.py --host --debug Change-Id: Ie9e96c95a7ee78a9b18c1bfc26ed04acbe99c32b
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions