Description[heap] Add a guard for restarting the memory reducer after mark-compact.
Currently it is possible to get into a cycle of
mark-compact -> memory reducer -> mark-compact -> memory reducer ...
where the memory reducer does not free memory.
This patch ensures that the memory reducer restarts only if the
committed memory increased by sufficient amount after the last run.
BUG=
Committed: https://crrev.com/0a82f091106e5404ac9bcd515ca1d8152bf38604
Cr-Commit-Position: refs/heads/master@{#40457}
Patch Set 1 #
Messages
Total messages: 12 (4 generated)
|