https://blog.csdn.net/qq_27061049/article/details/130138701
https://cloud.tencent.com/developer/article/2100211
源码位置:frameworks/base/services/core/java/com/android/server/Watchdog.java
WatchDog可能会造成system_server进程重启,从而导致zygote重启。
742 Slog.w(TAG, "*** WATCHDOG KILLING SYSTEM PROCESS: " + subject);
743 WatchdogDiagnostics.diagnoseCheckers(blockedCheckers);
744 Slog.w(TAG, "*** GOODBYE!");
745 Process.killProcess(Process.myPid());
746 System.exit(10);
0 条评论