Move an entry to the back of the eviction order if it is in the eviction order
| 1872 | |
| 1873 | // Move an entry to the back of the eviction order if it is in the eviction order |
| 1874 | void moveToBack(Entry& e) { |
| 1875 | ASSERT(e.ownedByEvictor); |
| 1876 | evictionOrder.splice(evictionOrder.end(), evictionOrder, EvictionOrderT::s_iterator_to(e)); |
| 1877 | } |
| 1878 | |
| 1879 | // Move entire contents of an external eviction order containing entries whose size is part of |
| 1880 | // this Evictor to the front of its eviction order. |