diff options
| author | 2018-05-22 16:46:43 +0000 | |
|---|---|---|
| committer | 2018-05-22 16:46:43 +0000 | |
| commit | f31343f1eab771010b3f293366149d2524f30902 (patch) | |
| tree | 5187b2bceee4c7d5347750dc6ba0020172d5ef51 /runtime/gc/allocator/rosalloc.h | |
| parent | e816389b61d17b9a82d8e61426ddfcce20e1238c (diff) | |
| parent | 8268cb677bd92bfbcfec7e803775c29687494e53 (diff) | |
Merge "Remove support for Valgrind in ART."
Diffstat (limited to 'runtime/gc/allocator/rosalloc.h')
| -rw-r--r-- | runtime/gc/allocator/rosalloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/gc/allocator/rosalloc.h b/runtime/gc/allocator/rosalloc.h index 150fe956ae..30213d55c5 100644 --- a/runtime/gc/allocator/rosalloc.h +++ b/runtime/gc/allocator/rosalloc.h @@ -625,7 +625,7 @@ class RosAlloc { // If true, check that the returned memory is actually zero. static constexpr bool kCheckZeroMemory = kIsDebugBuild; - // Valgrind protects memory, so do not check memory when running under valgrind. In a normal + // Do not check memory when running under a memory tool. In a normal // build with kCheckZeroMemory the whole test should be optimized away. // TODO: Unprotect before checks. ALWAYS_INLINE bool ShouldCheckZeroMemory(); @@ -768,7 +768,7 @@ class RosAlloc { // greater than or equal to this value, release pages. const size_t page_release_size_threshold_; - // Whether this allocator is running under Valgrind. + // Whether this allocator is running on a memory tool. bool is_running_on_memory_tool_; // The base address of the memory region that's managed by this allocator. |