diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2015-03-17 16:01:11 -0700 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2015-03-17 16:01:11 -0700 |
commit | 3dbf23412481c4da51f0ebe32bec5d300c36834b (patch) | |
tree | a900023a52b868f7776f6c92ced3201cc691fb8a /runtime/oat_file_assistant_test.cc | |
parent | cadf090da2dc91a3d6b842324e85f12ea6fef2ef (diff) | |
download | art-3dbf23412481c4da51f0ebe32bec5d300c36834b.tar.gz art-3dbf23412481c4da51f0ebe32bec5d300c36834b.tar.bz2 art-3dbf23412481c4da51f0ebe32bec5d300c36834b.zip |
Fix oat_file_assistant_test32 flaky failures with GSS collector.
Bug: 19800031
Change-Id: I5146fa4e6a79bad94762102a50956c31251dcd2a
Diffstat (limited to 'runtime/oat_file_assistant_test.cc')
-rw-r--r-- | runtime/oat_file_assistant_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/oat_file_assistant_test.cc b/runtime/oat_file_assistant_test.cc index 71679ae480..be8652cec5 100644 --- a/runtime/oat_file_assistant_test.cc +++ b/runtime/oat_file_assistant_test.cc @@ -203,7 +203,9 @@ class OatFileAssistantTest : public CommonRuntimeTest { // Ensure a chunk of memory is reserved for the image space. uintptr_t reservation_start = ART_BASE_ADDRESS + ART_BASE_ADDRESS_MIN_DELTA; uintptr_t reservation_end = ART_BASE_ADDRESS + ART_BASE_ADDRESS_MAX_DELTA - + 100 * 1024 * 1024; + // Include the main space that has to come right after the + // image in case of the GSS collector. + + 384 * MB; std::string error_msg; std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(getpid(), true)); |