Merge "Add System.runFinalization() call" am: 8df5d94b98 am: 7358684565
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1760810 Change-Id: I96f6ce06333ae3527d5b43fcdb7e31edd434fd47
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user