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

Commit f126c41d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "GC in heapDumpFinished to cleanup hprof fd"

parents a1d67fb3 5603b713
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21767,6 +21767,9 @@ public final class ActivityManagerService extends ActivityManagerNative
            }
            if (DEBUG_PSS) Slog.d(TAG_PSS, "Dump heap finished for " + path);
            mHandler.sendEmptyMessage(POST_DUMP_HEAP_NOTIFICATION_MSG);
            // Forced gc to clean up the remnant hprof fd.
            Runtime.getRuntime().gc();
        }
    }