Remove calls to VMRuntime methods that are no-ops.
Test: m
(Cherry-picked from: 5735cc7a11)
Change-Id: If2e6afe21f6efcb141f3a4428ff9154b68f08a1d
Merged-In: Ibe849f56f5fe8af1415dc6c85b484d0edca518ec
This commit is contained in:
@@ -1682,19 +1682,6 @@ public final class SystemServer {
|
||||
mSystemServiceManager.startService(StatsCompanionService.Lifecycle.class);
|
||||
traceEnd();
|
||||
|
||||
if (safeMode) {
|
||||
traceBeginAndSlog("EnterSafeModeAndDisableJitCompilation");
|
||||
mActivityManagerService.enterSafeMode();
|
||||
// Disable the JIT for the system_server process
|
||||
VMRuntime.getRuntime().disableJitCompilation();
|
||||
traceEnd();
|
||||
} else {
|
||||
// Enable the JIT for the system_server process
|
||||
traceBeginAndSlog("StartJitCompilation");
|
||||
VMRuntime.getRuntime().startJitCompilation();
|
||||
traceEnd();
|
||||
}
|
||||
|
||||
// MMS service broker
|
||||
traceBeginAndSlog("StartMmsService");
|
||||
mmsService = mSystemServiceManager.startService(MmsServiceBroker.class);
|
||||
|
||||
Reference in New Issue
Block a user