summaryrefslogtreecommitdiff
path: root/compiler/compiler_reflection_test.cc
diff options
context:
space:
mode:
author Jeongik Cha <jeongik@google.com> 2023-04-29 12:22:35 +0900
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-05-02 04:32:29 +0000
commit43312d5ee57fcd99ed6e97992b0b146dd6b6db9e (patch)
tree94b7d197747b6d3bb604a56f42e1db272864d17f /compiler/compiler_reflection_test.cc
parentb2b067192ac047b99c0d03104c5d7dbf79192ef1 (diff)
Retry mmap if it fails
Sometimes, mmap returns ENOMEM even though there is enough memory, in that case, retried mmap mostly succeeds. So as a workaround, let MemMapArena::Allocate retry at most 3 time. (to resolve flaky build failure) Bug: 278665389 Test: run dex2oat repeatedly Change-Id: Icbde6a06fe8d1b189486ea2ab10003425248df52
Diffstat (limited to 'compiler/compiler_reflection_test.cc')
0 files changed, 0 insertions, 0 deletions