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

Commit de303e7e authored by Billy Lam's avatar Billy Lam Committed by android-build-merger
Browse files

Merge "Merge "GC in heapDumpFinished to cleanup hprof fd" am: f126c41d am:...

Merge "Merge "GC in heapDumpFinished to cleanup hprof fd" am: f126c41d am: 8e82bc99 am: c3cc7864" into oc-dr1-dev-plus-aosp
am: 925a55c9

Change-Id: I192765b70d64a87c35d71b13e15c7ac052a99cf8
parents b7d308df 925a55c9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23511,6 +23511,9 @@ public class ActivityManagerService extends IActivityManager.Stub
            }
            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();
        }
    }