Merge "Add System.runFinalization() call"

This commit is contained in:
Hans Boehm
2021-07-09 20:56:11 +00:00
committed by Gerrit Code Review

View File

@@ -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();
}