Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d49a6426 authored by Bo Liu's avatar Bo Liu Committed by android-build-merger
Browse files

Merge "Do not start jit profile in app zygote" into qt-dev am: b24094f3

am: e4309638

Change-Id: Ie9454931935d3bd854c67ec61c431a35ae83de02
parents e9f61425 e4309638
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -937,7 +937,9 @@ public final class LoadedApk {
        //
        // It is NOT ok to call this function from the system_server (for any of the packages it
        // loads code from) so we explicitly disallow it there.
        if (needToSetupJitProfiles && !ActivityThread.isSystem()) {
        //
        // It is not ok to call this in a zygote context where mActivityThread is null.
        if (needToSetupJitProfiles && !ActivityThread.isSystem() && mActivityThread != null) {
            setupJitProfileSupport();
        }