Merge "Make system_server profilable on user." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4b500ced32
@@ -519,10 +519,8 @@ public final class SystemServer {
|
|||||||
// Initialize native services.
|
// Initialize native services.
|
||||||
System.loadLibrary("android_servers");
|
System.loadLibrary("android_servers");
|
||||||
|
|
||||||
// Debug builds - allow heap profiling.
|
// Allow heap / perf profiling.
|
||||||
if (Build.IS_DEBUGGABLE) {
|
initZygoteChildHeapProfiling();
|
||||||
initZygoteChildHeapProfiling();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Debug builds - spawn a thread to monitor for fd leaks.
|
// Debug builds - spawn a thread to monitor for fd leaks.
|
||||||
if (Build.IS_DEBUGGABLE) {
|
if (Build.IS_DEBUGGABLE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user