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

Commit 57fa4cc3 authored by Hans Boehm's avatar Hans Boehm Committed by Automerger Merge Worker
Browse files

Merge "Add System.runFinalization() call" am: 8df5d94b am: 73586845 am: 0ad0828a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1760810

Change-Id: I699bc013f7fcb65f630d3ff428ec1971d7b78f02
parents 68d02acb 0ad0828a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -553,6 +553,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();
                }