Use ashmem to name our various anonymous regions.
Change-Id: If64576b831a2fdcb83ffce40e6ec8ece8d902672
diff --git a/src/card_table.cc b/src/card_table.cc
index 4b57aa1..13491d8 100644
--- a/src/card_table.cc
+++ b/src/card_table.cc
@@ -62,7 +62,7 @@
/* Set up the card table */
size_t length = heap_max_size / GC_CARD_SIZE;
/* Allocate an extra 256 bytes to allow fixed low-byte of base */
- mem_map_.reset(MemMap::Map(length + 256, PROT_READ | PROT_WRITE));
+ mem_map_.reset(MemMap::Map("dalvik-card-table", NULL, length + 256, PROT_READ | PROT_WRITE));
byte* alloc_base = mem_map_->GetAddress();
if (alloc_base == NULL) {
return false;