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

Commit 83b2f7d8 authored by Evgenii Stepanov's avatar Evgenii Stepanov
Browse files

Scale stack dump timeout with HW_TIMEOUT_MULTIPLIER.

HWASan builds often fail to complete stack dump in time.

Bug: 193568145
Test: am hang; look for "ActivityManager: Done dumping" in logcat
Change-Id: Ied3a2def89cb1bb5c6a9d51ddf8fb112cb0b4133
parent 1f5ba0b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4133,7 +4133,7 @@ public class ActivityManagerService extends IActivityManager.Stub
        // control of all writes to the file in question.
        // We must complete all stack dumps within 20 seconds.
        long remainingTime = 20 * 1000;
        long remainingTime = 20 * 1000 * Build.HW_TIMEOUT_MULTIPLIER;
        // As applications are usually interested with the ANR stack traces, but we can't share with
        // them the stack traces other than their own stacks. So after the very first PID is