commit | cc17d079659d737d67d4a891b6951a532c0299f3 | [log] [tgz] |
---|---|---|
author | Vincent Palomares <paillon@google.com> | Mon Jan 28 11:14:01 2019 -0800 |
committer | Vincent Palomares <paillon@google.com> | Mon Jan 28 11:14:31 2019 -0800 |
tree | f764f1a9f8b9ea18e0f7ff56d4166fe43a7a3bcf | |
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>