Merge art-cache dex files into oat files
Change-Id: I5a327a4e0b678bd9dabb12de4e21ef05e3fefd0b
diff --git a/src/card_table.cc b/src/card_table.cc
index 13491d8..430918a 100644
--- a/src/card_table.cc
+++ b/src/card_table.cc
@@ -62,7 +62,8 @@
/* 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("dalvik-card-table", NULL, length + 256, PROT_READ | PROT_WRITE));
+ mem_map_.reset(
+ MemMap::MapAnonymous("dalvik-card-table", NULL, length + 256, PROT_READ | PROT_WRITE));
byte* alloc_base = mem_map_->GetAddress();
if (alloc_base == NULL) {
return false;