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

Commit d4846809 authored by Hai Zhang's avatar Hai Zhang
Browse files

Use concurrent GC in PackageManagerService constructor.

We don't have a hard dependency on GC completion anyway.

Change-Id: Iff7dc1b35e1a128238ea088a806bef377299f172
Fixes: 170408071
Test: presubmit
parent 47f37a2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3842,7 +3842,7 @@ public class PackageManagerService extends IPackageManager.Stub
        // are all flushed.  Not really needed, but keeps things nice and
        // tidy.
        t.traceBegin("GC");
        Runtime.getRuntime().gc();
        VMRuntime.getRuntime().requestConcurrentGC();
        t.traceEnd();
        // The initial scanning above does many calls into installd while