Merge "Make system_server profilable on user." into rvc-dev am: 4b500ced32

Change-Id: I57df67e59b6ed1187e0bb0893f6020d9f62f489f
This commit is contained in:
TreeHugger Robot
2020-04-07 09:55:41 +00:00
committed by Automerger Merge Worker

View File

@@ -513,10 +513,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) {