Disable MemoryMap.SelfLargeMapFile, MemoryMap.SelfLargeFiles and...
Disable MemoryMap.SelfLargeMapFile, MemoryMap.SelfLargeFiles and MemoryMap.SelfBasic when PartitionAlloc is used as malloc. When PartitionAlloc is used as malloc, malloc() will cause mmap(). So while reading and parsing /proc/self/maps, we should avoid memory allocation. If malloc() is invoked, the maps file will be updated and we will see parse error. Bug: 1163794 Change-Id: Ifc008c1b23a37ec0405056cdfbe4582233c16d7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2612872Reviewed-by:Joshua Peraza <jperaza@chromium.org> Reviewed-by:
Mark Mentovai <mark@chromium.org> Reviewed-by:
Bartek Nowierski <bartekn@chromium.org> Commit-Queue: Takashi Sakamoto <tasak@google.com> Cr-Commit-Position: refs/heads/master@{#842836}
Showing
Please register or sign in to comment