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

Skip to content
Commit ed7546f3 authored by Eric Miao's avatar Eric Miao
Browse files

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
parent 3b56cb92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment