Enable profile guided compilation on the framework side
The background compilation service will trigger a profile based compilation instead of a full one. If no profile information is available the compilation is skipped (see installd). Note that the end decision whether or not to compile a package is taken by dext2oat. We can't make the decision here because this service runs under system server which cannot read app's profile data. Bug: 26080105 Change-Id: I457ea8dea0557839c1f7cdc241770055732b0a4a
This commit is contained in:
@@ -1041,7 +1041,7 @@ public final class SystemServer {
|
||||
|
||||
traceBeginAndSlog("StartBackgroundDexOptService");
|
||||
try {
|
||||
BackgroundDexOptService.schedule(context, 0);
|
||||
BackgroundDexOptService.schedule(context);
|
||||
} catch (Throwable e) {
|
||||
reportWtf("starting BackgroundDexOptService", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user