diff options
author | Richard Uhler <ruhler@google.com> | 2016-10-24 15:54:44 +0100 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2016-10-25 08:37:31 +0100 |
commit | a5c61bf479453e7e195888afb4e62a9872d6be7c (patch) | |
tree | b517151377a1293612b9d2d2a04e696ad1036743 /compiler/optimizing/graph_visualizer.cc | |
parent | 3667e26de4856cccf24bcbab54ad3349a05267c0 (diff) |
Fall back to true anonymous mmap if out of file descriptors.
MemMap::MapAnonymous needs a file descriptor to create an ashmem
region to label otherwise anonymous mmaps for debugging purposes. If
the process has no file descriptors available, fall back to
traditional anonymous mmap rather than failing.
Test: m test-art-host, m test-art-target
Bug: 32013594
Bug: 32302133
Change-Id: I6b2c770fc031eb8d429407f3a0e7408c52cb1985
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions