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

Commit 84209e12 authored by Hans Boehm's avatar Hans Boehm Committed by Android (Google) Code Review
Browse files

Merge "Add System.runFinalization() call" into sc-dev

parents 878a0d7c 6a527451
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -552,6 +552,7 @@ public final class SystemServer implements Dumpable {
                if (maxFd > enableThreshold) {
                    // Do a manual GC to clean up fds that are hanging around as garbage.
                    System.gc();
                    System.runFinalization();
                    maxFd = getMaxFd();
                }