OSDN Git Service

Don't use free list LOS for --force-determinism.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 3 May 2017 14:04:55 +0000 (15:04 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 8 May 2017 13:13:57 +0000 (14:13 +0100)
commit2d771620b93024ab14bc496714ff890978595d0c
tree4584c3842c3479caa6c7d0f644ed2088779a72c4
parent49b0cdcc365cc76938fe7c7e34d3213fbbe8b319
Don't use free list LOS for --force-determinism.

If the maximum capacity is too large, we can fail mapping the memory
required for it. See:
https://android-build.googleplex.com/builds/pending/P4254206/aosp_arm64-eng/latest)

So instead just disable the LOS.

Also fix concurrent collector assuming there is always a LOS.

Test: build
bug: 37442966

(cherry picked from commit 7acddd83065bc8b12ade9528a84e6fcadda21250)

Change-Id: Iec9f8139806a99af16212906315ab906ee2c9b3f
dex2oat/dex2oat.cc
runtime/gc/collector/concurrent_copying.cc