Chromium Code Reviews
Descriptionmemory_coordinator: Use TimeTicks to suppress memory condition update
Before this CL ForceSetMemoryCondition() was implemented by rescheduling
the task which updates memory condition. It resulted in not calling
UpdateConditionIfNeeded() until a given interval is passed. This is no
longer an expected behavior because UpdateConditionIfNeeded() does more
work than just updating condition. Instead of rescheduing the task, add a
TimeTicks to suppress memory condition update for a given interval.
BUG=696844
Review-Url: https://codereview.chromium.org/2832753002
Cr-Commit-Position: refs/heads/master@{#465951}
Committed: https://chromium.googlesource.com/chromium/src/+/e475d97ed39fecfb67814dcf0607746f8aea1cb4
Patch Set 1 #Patch Set 2 : Remove unused const #
Messages
Total messages: 16 (12 generated)
|
|||||||||||||||||||||||||||||||||||||