diff options
Diffstat (limited to 'chrome/browser/memory_purger.h')
-rw-r--r-- | chrome/browser/memory_purger.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/memory_purger.h b/chrome/browser/memory_purger.h index b86172d..667b530 100644 --- a/chrome/browser/memory_purger.h +++ b/chrome/browser/memory_purger.h @@ -5,6 +5,10 @@ // MemoryPurger provides static APIs to purge as much memory as possible from // all processes. These can be hooked to various signals to try and balance // memory consumption, speed, page swapping, etc. +// +// This was implemented in an attempt to speed up suspend-to-disk by throwing +// away any cached data that can be recomputed. Memory use will rapidly +// re-expand after this purge is run. #ifndef CHROME_BROWSER_MEMORY_PURGER_H_ #define CHROME_BROWSER_MEMORY_PURGER_H_ |