summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorSim Sun <simsun@fb.com>2020-04-07 02:21:32 -0700
committerChristopher Ferris <cferris@google.com>2020-04-07 18:07:38 -0700
commit273d3f08aa894cd6a2d49d0713474296dc43b226 (patch)
treefc491e55d65715a78a2b2af9ffb329293d4b9ca7 /trusty/coverage/coverage_test.cpp
parent89cce05891ce0afde18477be05303d01353258f5 (diff)
Avoid re-mapping dex file that's in local memory.
If the Dex file we're trying to examine is already within the unwinder's address space, we don't need to load it from disk or copy it across processes. This avoids using up virtual address space to map in dex files, and also should be a bit faster to read since it won't go out to the file. Patch by Chris Sarbora Test: Ran new unit tests. Test: Ran 137-cfi art test. Change-Id: I949457856f051cca11b9020e9da3a41bbf6e5c8e
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions