commit | 52173968b88ff0a989b5ea1788e0929333ac9181 | [log] [tgz] |
---|---|---|
author | Lokesh Gidra <lokeshgidra@google.com> | Fri May 15 17:09:14 2020 -0700 |
committer | Lokesh Gidra <lokeshgidra@google.com> | Mon May 18 19:18:20 2020 +0000 |
tree | c964d2ce5ecc3e767f1a5d5b83a73b7b1615aafe | |
parent | 0ddb338f084b1c46efbfa7a79ad6aa1b63a24ded [diff] |
Make heap exhaustion more robust in art-tests Repeat heap exhaustion loop a couple of times to make sure there is no space left on the Java heap. This is essential as we now report OOME even when 1% of the heap is available for allocation. Repetition ensures that even the 1% available heap is also consumed. Test: art/test/testrunner/testrunner.py Bug: 144525957 Change-Id: Iec5e6ae59c95f7ae5e8c13dc47bcc43a76795447