summaryrefslogtreecommitdiff
path: root/runtime/gc/allocator/rosalloc-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/allocator/rosalloc-inl.h')
-rw-r--r--runtime/gc/allocator/rosalloc-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/allocator/rosalloc-inl.h b/runtime/gc/allocator/rosalloc-inl.h
index bba92a1f40..25fdd7cbc9 100644
--- a/runtime/gc/allocator/rosalloc-inl.h
+++ b/runtime/gc/allocator/rosalloc-inl.h
@@ -24,7 +24,7 @@ namespace gc {
namespace allocator {
inline ALWAYS_INLINE bool RosAlloc::ShouldCheckZeroMemory() {
- return kCheckZeroMemory && !running_on_valgrind_;
+ return kCheckZeroMemory && !is_running_on_memory_tool_;
}
template<bool kThreadSafe>