Merge "Make system_server profilable on user." into rvc-dev am: 4b500ced32 am: 037c545335 am: 8dbf276d7f
Change-Id: Ica8d586c2346652d62b0a6c200b6f228d397b6aa
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user