Use ashmem to name our various anonymous regions.
Change-Id: If64576b831a2fdcb83ffce40e6ec8ece8d902672
diff --git a/src/heap_bitmap.h b/src/heap_bitmap.h
index f1db795..31adebc 100644
--- a/src/heap_bitmap.h
+++ b/src/heap_bitmap.h
@@ -53,7 +53,7 @@
typedef void SweepCallback(size_t numPtrs, void** ptrs, void* arg);
- static HeapBitmap* Create(byte* base, size_t length);
+ static HeapBitmap* Create(const char* name, byte* base, size_t length);
~HeapBitmap();
@@ -117,7 +117,7 @@
}
}
- bool Init(const byte* base, size_t length);
+ bool Init(const char* name, const byte* base, size_t length);
UniquePtr<MemMap> mem_map_;