Merge "Add System.runFinalization() call" into sc-dev am: 84209e128d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15245491 Change-Id: Ib8553e733744f7bfe5aaa750fb5e4947d9d25b52
This commit is contained in:
@@ -554,6 +554,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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user