From 8268cb677bd92bfbcfec7e803775c29687494e53 Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Fri, 11 May 2018 15:06:17 +0100 Subject: Remove support for Valgrind in ART. - Disable test configuration art-gtest-valgrind64 (art-gtest-valgrind32 was already disabled). - Remove Makefile logic regarding testing with Valgrind. - Remove occurrences of `TEST_DISABLED_FOR_MEMORY_TOOL_VALGRIND`. - Replace occurrences of `TEST_DISABLED_FOR_MEMORY_TOOL_ASAN` with `TEST_DISABLED_FOR_MEMORY_TOOL`. - Replace the potentially dynamically evaluated `RUNNING_ON_MEMORY_TOOL` expression with constant `kRunningOnMemoryTool`. - Simplify and fold the logic of `art::ArenaAllocatorMemoryToolCheckImpl` and `art::ArenaAllocatorMemoryToolCheck` into `art::ArenaAllocatorMemoryTool`. - Adjust comments regarding memory tools. - Remove Valgrind suppression files. - Remove `--callgrind` option from tools/art. Test: art/test.py Bug: 77856586 Bug: 29282211 Change-Id: Ifdcbfccc1830104c455760457df66ede4a4cd135 --- runtime/jit/jit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/jit/jit.cc') diff --git a/runtime/jit/jit.cc b/runtime/jit/jit.cc index 0684b461ae..42a4a8d204 100644 --- a/runtime/jit/jit.cc +++ b/runtime/jit/jit.cc @@ -347,7 +347,7 @@ void Jit::DeleteThreadPool() { } // When running sanitized, let all tasks finish to not leak. Otherwise just clear the queue. - if (!RUNNING_ON_MEMORY_TOOL) { + if (!kRunningOnMemoryTool) { pool->StopWorkers(self); pool->RemoveAllTasks(self); } -- cgit v1.2.3-59-g8ed1b