Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 2 of 2) sorted by relevance

/libcore/metrictests/memory/host/src/libcore/heapmetrics/
DLibcoreHeapMetricsTest.java113 AhatHeap heap = dump.getHeap(heapName); in recordHeapMetrics() local
114 recordSizeMetric(metricPrefix, heap.getSize()); in recordHeapMetrics()
115 Map<Reachability, Size> sizesByReachability = sizesByReachability(dump, heap); in recordHeapMetrics()
155 private static Map<Reachability, Size> sizesByReachability(AhatSnapshot dump, AhatHeap heap) { in sizesByReachability() argument
162 Size size = instance.getRetainedSize(heap); in sizesByReachability()
/libcore/metrictests/memory/
DREADME26 This instrumentation dumps a heap, performs some configurable action (see the code for details), and
27 then dumps another heap. You can run it manually as follows:
53 # To examine the first heap dump:
56 # To diff the second heap dump against the first: