commit | ed7546f3cf1c84cc0cb0f4bcba657adc08739796 | [log] [tgz] |
---|---|---|
author | Eric Miao <ericymiao@google.com> | Wed Jul 10 10:35:35 2024 -0700 |
committer | Eric Miao <ericymiao@google.com> | Thu Oct 17 15:18:13 2024 -0700 |
tree | e8622698c7a81849392bdb56a69026e09fe76df4 | |
parent | 3b56cb92823921178a7b8544e82c60f5ba6fb77b [diff] |
Report Post-GC memory metrics Bug: 331243037 Flag: android.app.report_postgc_memory_metrics This makes use of ProcfsMemoryUtil.java, and so part of the change is to move ProcfsMemoryUtil to com.android.internal.os so it can be shared. This also registers the callback to report memory metrics in VMRuntime when a post-GC event happens. Change-Id: Idbe67f306935fefa8f3e4b4ef4fe656a61a4ede6