diff options
| author | 2023-04-29 12:22:35 +0900 | |
|---|---|---|
| committer | 2023-05-02 04:32:29 +0000 | |
| commit | 43312d5ee57fcd99ed6e97992b0b146dd6b6db9e (patch) | |
| tree | 94b7d197747b6d3bb604a56f42e1db272864d17f /compiler/utils/assembler_test.h | |
| parent | b2b067192ac047b99c0d03104c5d7dbf79192ef1 (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/utils/assembler_test.h')
0 files changed, 0 insertions, 0 deletions