From 864e8d0e8828cd7e3560ac3e77b5716f7a1d8ca0 Mon Sep 17 00:00:00 2001 From: Carl Shapiro Date: Fri, 25 Jun 2010 17:27:59 -0700 Subject: [PATCH] Remove an obsolete TODO. Change-Id: Ie1b79eec88bf410548d42faca4f511387859e02d --- vm/alloc/HeapSource.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/vm/alloc/HeapSource.c b/vm/alloc/HeapSource.c index 0891506a1..662f99d20 100644 --- a/vm/alloc/HeapSource.c +++ b/vm/alloc/HeapSource.c @@ -721,9 +721,6 @@ dvmHeapSourceAlloc(size_t n) heap = hs2heap(hs); if (heap->bytesAllocated + n <= hs->softLimit) { -// TODO: allocate large blocks (>64k?) as separate mmap regions so that -// they don't increase the high-water mark when they're freed. -// TODO: zero out large objects using madvise ptr = mspace_calloc(heap->msp, 1, n); if (ptr != NULL) { countAllocation(heap, ptr, true); -- 2.11.0