diff options
author | Zimuzo <zezeozue@google.com> | 2019-04-27 21:10:35 +0100 |
---|---|---|
committer | Zimuzo Ezeozue <zezeozue@google.com> | 2019-04-30 11:19:19 +0000 |
commit | 88de80fc53d6f19eb454ede98b310ad3506efc18 (patch) | |
tree | 24ce57d80e762cb0a17a1f43c10597b797c75191 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 446014ecf90bf662da9361d58378010722980e3c (diff) |
Attempt native rollback for frequent crashes before boot completed
Before, if updatable processes crash 4 times in 4mins, a native
rollback will be attempted. This behavior does not detect
system_server early boot deadlocks because the system server requires
at least a min to detect a deadlock, and crash itself. The crashes
don't happen frequently enough for init to detect.
After, this cl, the old behavior exists and additionally, init detects
*any* 4 crashes of updatable processes before boot completed,
regardless of if they happen within 4mins or not.
Test: Manually tested by adding artificial sleep in system_server so
deadlock is triggered before boot. system_server crashes 4 times in
over 4mins and the ro.init.updatable_crashing prop is set to 1.
Bug: 129597207
Change-Id: Ie6fb5693ff4be105bcbe139c22850fb076e40260
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions