Merge "Make system_server profilable on user." into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-07 09:46:21 +00:00
committed by Android (Google) Code Review

View File

@@ -519,10 +519,8 @@ public final class SystemServer {
// Initialize native services.
System.loadLibrary("android_servers");
// Debug builds - allow heap profiling.
if (Build.IS_DEBUGGABLE) {
initZygoteChildHeapProfiling();
}
// Allow heap / perf profiling.
initZygoteChildHeapProfiling();
// Debug builds - spawn a thread to monitor for fd leaks.
if (Build.IS_DEBUGGABLE) {