Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0800039f authored by Lee Shombert's avatar Lee Shombert
Browse files

Thaw any frozen processes when zygote restarts

If system_server crashes, any processes that were frozen remain
frozen.  system_server might not recognize this when it restarts.
This change thaws all frozen processes before restarting zygote (which
always restarts when system_server must be restarted).

Spot tests show that the time spent thawing processes is on the order
of 100ms.  Note that this extra time is only incurred when zygote must
be restarted.  It is not incurred on first boot.

Tested with script that killed system_server repeatedly, verifying
that any processes frozen before the kill were not frozen after
system_server was restarted.

Flag: EXEMPT bug-fix
Bug: 414581596
Test: presubmit

Change-Id: Ib34da13b4e837bd1bdac7a7e541e6763c8c27c79
parent 7454ab56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment