diff options
author | Tom Cherry <tomcherry@google.com> | 2017-08-04 15:59:03 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2017-08-29 17:45:06 -0700 |
commit | 16fad42007a7abbc3a1b5727e49c3aad1d8edb97 (patch) | |
tree | bbd3ca7fdb8e08b255e6b6fa42947baa88b2b06f /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 459aa1cac669b3bac6232e5906ceeacd33671b62 (diff) |
use a single file for storing persistent properties
We have seen that storing persistent properties in separate files
causes increased boot latency compared to if they were stored in a
single contiguous file.
This change creates a simple format for a contiguously stored property
file, and adds the support for arbitrary characters in the names of
persistent properties, which previously had been restricted. It has a
mechanism for converting older devices to the new format as well.
Bug: 64392887
Test: boot bullhead with new properties
Test: boot bullhead and verify old properties are converted to the new
property file
Test: corrupt property file and ensure that it gets recovered from memory
Test: new unit tests
Change-Id: I60d8201d655ce5c97b33faae81d5ca8dbbb21a14
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions