aboutsummaryrefslogtreecommitdiff
path: root/tests/080-oom-throw/src/Main.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix flakiness in test 080-oom-throw.Elliott Hughes2013-04-111-32/+29
| | | | | | | | | | | The problem was that the instance test could potentially fill the heap close enough to the edge that you'd hit a follow-on OOME in the attempt to print the success message, causing the test to fail. I've also made the code a bit clearer while I'm here. Bug: https://code.google.com/p/android/issues/detail?id=54114 Change-Id: I39127c3ea6a99940fa66ad8763bbbf6c01d308ef
* Fixed OOM exception handling in JIT'ed code and added a new unit test.Ben Cheng2009-09-271-0/+79