Loading core/java/android/app/ActivityThread.java +3 −1 Original line number Diff line number Diff line Loading @@ -7681,7 +7681,9 @@ public final class ActivityThread extends ClientTransactionHandler }); // Register callback to report native memory metrics post GC cleanup if (Flags.reportPostgcMemoryMetricsReadonly() && // Note: we do not report memory metrics of isolated processes unless // their native allocations become more significant if (!Process.isIsolated() && Flags.reportPostgcMemoryMetrics() && com.android.libcore.readonly.Flags.postCleanupApis()) { VMRuntime.addPostCleanupCallback(new Runnable() { @Override public void run() { Loading core/java/android/app/metrics.aconfig +0 −9 Original line number Diff line number Diff line Loading @@ -8,12 +8,3 @@ flag { description: "Controls whether to report memory metrics post GC cleanup" bug: "331243037" } flag { namespace: "system_performance" name: "report_postgc_memory_metrics_readonly" is_exported: false description: "Controls whether to report memory metrics post GC cleanup (readonly)" bug: "331243037" is_fixed_read_only: true } Loading
core/java/android/app/ActivityThread.java +3 −1 Original line number Diff line number Diff line Loading @@ -7681,7 +7681,9 @@ public final class ActivityThread extends ClientTransactionHandler }); // Register callback to report native memory metrics post GC cleanup if (Flags.reportPostgcMemoryMetricsReadonly() && // Note: we do not report memory metrics of isolated processes unless // their native allocations become more significant if (!Process.isIsolated() && Flags.reportPostgcMemoryMetrics() && com.android.libcore.readonly.Flags.postCleanupApis()) { VMRuntime.addPostCleanupCallback(new Runnable() { @Override public void run() { Loading
core/java/android/app/metrics.aconfig +0 −9 Original line number Diff line number Diff line Loading @@ -8,12 +8,3 @@ flag { description: "Controls whether to report memory metrics post GC cleanup" bug: "331243037" } flag { namespace: "system_performance" name: "report_postgc_memory_metrics_readonly" is_exported: false description: "Controls whether to report memory metrics post GC cleanup (readonly)" bug: "331243037" is_fixed_read_only: true }