From 3dbf23412481c4da51f0ebe32bec5d300c36834b Mon Sep 17 00:00:00 2001 From: Hiroshi Yamauchi Date: Tue, 17 Mar 2015 16:01:11 -0700 Subject: Fix oat_file_assistant_test32 flaky failures with GSS collector. Bug: 19800031 Change-Id: I5146fa4e6a79bad94762102a50956c31251dcd2a --- runtime/oat_file_assistant_test.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runtime/oat_file_assistant_test.cc') 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 map(BacktraceMap::Create(getpid(), true)); -- cgit v1.2.3