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

Commit 62f9285f authored by Xin Guan's avatar Xin Guan Committed by Android (Google) Code Review
Browse files

Merge "Remove GC request during the PackageManagerService startup"

parents a2d33147 ad95f5a9
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -2363,13 +2363,6 @@ public class PackageManagerService implements PackageSender, TestUtilityService

        mInjector.getSystemWrapper().enablePackageCaches();

        // Now after opening every single application zip, make sure they
        // are all flushed.  Not really needed, but keeps things nice and
        // tidy.
        t.traceBegin("GC");
        VMRuntime.getRuntime().requestConcurrentGC();
        t.traceEnd();

        // The initial scanning above does many calls into installd while
        // holding the mPackages lock, but we're mostly interested in yelling
        // once we have a booted system.