summaryrefslogtreecommitdiffstats
path: root/test/061-out-of-memory
Commit message (Collapse)AuthorAgeFilesLines
* Manually merge my AOSP update to the VM tests.Elliott Hughes2012-01-311-13/+5
| | | | | | | | Original change: https://android-review.googlesource.com/32051 Bug: http://code.google.com/p/android/issues/detail?id=21599 Bug: http://code.google.com/p/android/issues/detail?id=21597 Change-Id: I31e440b66b720647afab54ca39fd6eb1bbb0cb60
* Upgrade to latest dlmalloc. Refactor Heap and related APIs to use STL like ↵Ian Rogers2012-01-261-6/+6
| | | | | | | | | | | | | | | | | | | | 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
* Adding old unit tests to test suite.jeffhao2011-09-293-0/+125
These tests are copied straight over. They'll still run, but they're using the old system. Change-Id: If494519e52ddf858a9febfc55bdae830468cb3c8