OSDN Git Service

Support null error_msg for select MemMap functions
authorMathieu Chartier <mathieuc@google.com>
Tue, 24 Nov 2015 21:47:52 +0000 (13:47 -0800)
committerMathieu Chartier <mathieuc@google.com>
Mon, 30 Nov 2015 23:00:06 +0000 (15:00 -0800)
commitebe2dfcb1346d2010787ebbb15ae2965fcd2b223
treec366f06909683e213fbd0a3dab445aa35460f4a4
parent1850cb43dbddbc655a6f990a7d475587fa9d6659
Support null error_msg for select MemMap functions

In the failure case, reading proc maps takes 30ms. This is too slow
for app images.

Bug: 22858531
Change-Id: Ib6998cf82116720b23faec89d011fb7197c3d1cb
runtime/mem_map.cc
runtime/mem_map.h