DescriptionAdd a MappedMemory interface to TaskMemory and use it in
MachOImageSymbolTableReader.
This results in a speed boost for MachOImageSymbolTableReader because
it’s able to read the entire string table in one operation, rather than
reading each string from the remote process individually. Copying is
also reduced. In a debug-mode build on my laptop, util_test
MachOImageReader.* has improved from ~1400ms to ~1000ms.
TEST=util_test TaskMemory.*:MachOImageReader.*
R=rsesek@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/0869b3e86d704fc55d621a8d3659e40dba370c27
Patch Set 1 #
Total comments: 12
Patch Set 2 : Address review feedback #Patch Set 3 : Use vm_region_64() instead of mach_vm_region() #
Messages
Total messages: 6 (1 generated)
|