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

Commit 98491ba7 authored by Hans Boehm's avatar Hans Boehm
Browse files

Add disclaimer to Debug.getRuntimeStat()

It is too expensive to compute bytes-allocated exactly, and we haven't
done so in a while. Admit that.

Bug: 142328050
Test: Treehugger
Change-Id: I6f64e9532879d8164beabb8f886164f0d338b842
parent 311fc569
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1690,6 +1690,8 @@ public final class Debug
     * such runtime statistic exists.
     *
     * <p>The following table lists the runtime statistics that the runtime supports.
     * All statistics are approximate. Individual allocations may not be immediately reflected
     * in the results.
     * Note runtime statistics may be added or removed in a future API level.</p>
     *
     * <table>