summaryrefslogtreecommitdiffstats
path: root/vm/BitVector.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace malloc() followed by memset() to zero with calloc()Iliyan Malchev2012-02-161-2/+1
| | | | | | | | | | | Bionic's calloc() is smart enough to not zero out memory if it gets that memory from an anonyous mmap. Thus, if we use malloc for large allocations, we cause unnecessary memory duplication by following the malloc() with a memset(). An even better approach would be to replace the known large calloc() calls with dvmAllocRegion() allocation. Change-Id: Id308f541c9a040d5929bf991b6c2bfdefb823c3c
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-3/+3
| | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Also fix an occurrence of LOGW missed in an earlier change. Bug: 5449033 Change-Id: I2e3b23839e6dcd09015d6402280e9300c75e3406
* Further conservation of newlines.Dan Bornstein2011-05-261-3/+3
| | | | | | Friends don't let friends end LOG() strings with newlines. Change-Id: I5a18c766c90c4ab5f03caa6acd601d34d91beb00
* Move the remaining non-compiler VM code into C++.Carl Shapiro2011-04-151-0/+333
Change-Id: Id8693208d2741c55a7b0474d1264f2112019d11f