commit | 4a3a8044c18e8a82bcfd7825a6a99be3aa86342c | [log] [tgz] |
---|---|---|
author | Hans Boehm <hboehm@google.com> | Sat Dec 17 16:40:19 2022 -0800 |
committer | Hans Boehm <hboehm@google.com> | Mon Dec 19 16:47:31 2022 +0000 |
tree | 99792f58596f24ec4bb465b7cc5a7492f4ed6e93 | |
parent | 1aaa9d4824f34ad8a2c70ab7c93598ef85e7443a [diff] |
Speed up 080-oom-throw Change the heap filling algorithm to use fewer size classes. Allocating more objects is much cheaper than running out of memory more often. time art/test/run-test --host 080-oom-throw Speeds up from about 16 seconds to 12 seconds elapsed time, including any script overhead. Bug: 262517556 Test: Time test on host, Treehugger Change-Id: Ifcdb90cbf493f5fded0e5a573268edb7b01a1b01