aboutsummaryrefslogtreecommitdiff
path: root/linker/linker_block_allocator_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change default block size alignment to be 4 for memory saving on 32-bit archEric Miao2022-02-031-33/+32
| | | | | | | | | | | For a 32-bit userspace, `struct LinkedListEntry` takes 8 bytes for storing the two pointers, a default block allocator size alignment of 16-bytes would waste 50% of memory. By changing the alignment to size of a pointer, it saves >1MB memory postboot on wembley device. Bug: http://b/206889551 Test: bionic-unit-tests Change-Id: Ie92399c9bb3971f631396ee09bbbfd7eb17dc1a7
* Changes for #inclusivefixit.Elliott Hughes2020-07-211-5/+5
| | | | | Test: treehugger Change-Id: I7ff0496c5c2792a41781e74634247f55b0548213
* Switch linker tests to Android.bp.Elliott Hughes2019-02-151-0/+147
Life is easier if we just keep test code in the same directory as the stuff it's testing... Test: tests still build and pass Change-Id: I9b35d689098bdc28a71d69645b0ca9fdd6ea0108