summaryrefslogtreecommitdiffstats
path: root/src/dlmalloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers.Elliott Hughes2012-01-301-1/+16
| | | | Change-Id: I5b7bc76a370238d810d78522bd5531600746700f
* Fix dlmalloc to compile without warnings on Mac OS.Elliott Hughes2012-01-271-1/+0
| | | | | | Mac OS' GCC doesn't support #pragma GCC diagnostic. Change-Id: I38a321a3dd1cad522a9e7475b58afac30c045aaf
* Upgrade to latest dlmalloc. Refactor Heap and related APIs to use STL like ↵Ian Rogers2012-01-261-5450/+15
| | | | | | | | | | | | | | | | | | | | naming. We fail assertions in the existing heap code, as does Dalvik. This refactoring is to clean the heap and space APIs and to reduce duplication of data and thereby solve a failing assertion in the card table. This change also wires up clearing of soft references including before out-of-memory errors are reported. In doing this change it was made clear that mspaces are buggy (and violating invariants with the garbage collector). This change upgrades to an un-Android molested version of dlmalloc-2.8.5 and implements a version of the mspace morecore routine under ART control. run-test 061-out-of-memory is updated for current heap sizes. Change-Id: I377e83ab2a8c78afb9b1881f03356929e2c9dc64
* Add allocation and garbage collection infrastructure.Carl Shapiro2011-07-211-0/+5454
Change-Id: I4b04cdfdf18afb75a7b0df87b509e8156b4a932b