summaryrefslogtreecommitdiff
path: root/libartbase/base/allocator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libartbase/base/allocator.cc')
-rw-r--r--libartbase/base/allocator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libartbase/base/allocator.cc b/libartbase/base/allocator.cc
index 71a4f6cce4..b65ba16eb2 100644
--- a/libartbase/base/allocator.cc
+++ b/libartbase/base/allocator.cc
@@ -25,6 +25,7 @@
namespace art {
+// Note that this class is a misnomer as it calls `calloc` which sets the memory to zero.
class MallocAllocator final : public Allocator {
public:
MallocAllocator() {}