diff options
author | Vincent Palomares <paillon@google.com> | 2019-01-28 11:14:01 -0800 |
---|---|---|
committer | Vincent Palomares <paillon@google.com> | 2019-01-28 11:14:31 -0800 |
commit | cc17d079659d737d67d4a891b6951a532c0299f3 (patch) | |
tree | f764f1a9f8b9ea18e0f7ff56d4166fe43a7a3bcf /test/ProfileTestMultiDex/Main.java | |
parent | c0f797328e986dcdded1ba5e413ae01c24fedef9 (diff) |
Reducing CPU impact of non-monotonic clocks on Gc.
Adding a ceiling for the Gc's histogram's num_of_windows count, ensuring the
number of data points to insert does not become extremely large when time
changes unexpectedly. This may happen when the time source is not monotonic.
Bug: 123365804
Test: confirmed the fix behaves as intended on a system with an erratic clock
Change-Id: Idd3560204d3392fe247b65d383c41de2eaf8d35c
Signed-off-by: Vincent Palomares <paillon@google.com>
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions