[PATCH] D51062: [Support][CachePruning] prune least recently accessed files first

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 21 13:59:45 PDT 2018


inglorion created this revision.
inglorion added reviewers: pcc, rnk.
Herald added subscribers: dexonsmith, steven_wu, hiraditya, arichardson, emaste.
Herald added a reviewer: espindola.

Before this change, pruning order was based on size. This changes it
to be based on time of last use instead, preferring to keep recently
used files and prune older ones.


https://reviews.llvm.org/D51062

Files:
  lld/test/ELF/lto/cache.ll
  llvm/lib/Support/CachePruning.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51062.161812.patch
Type: text/x-patch
Size: 3991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180821/c714c90b/attachment.bin>


More information about the llvm-commits mailing list