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

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

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

am: 8e82bc99

Change-Id: I4b9ecfcbe0e3757615ef4eca7602e4bf066a25e5
parents 6a5fe34e 8e82bc99
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23465,6 +23465,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();
        }
    }