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

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

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

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

Change-Id: I867df303b8da1b9748e5a775dd8bf4a1b910c434
parents 156b5e7c 8df5d94b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -452,6 +452,7 @@ public final class SystemServer {
                if (maxFd > enableThreshold) {
                    // Do a manual GC to clean up fds that are hanging around as garbage.
                    System.gc();
                    System.runFinalization();
                    maxFd = getMaxFd();
                }