Hi Roi,

I would probably start from NewLRUClockHand. That's the class that
maintains the actual state of what entries are least recently used.

You can follow the callers of getLRUEntry back to see how it's being used.
One key place is AbstractLRUMap.lruUpdateCallback, which gets called after
updates to the region data. In there, it checks with a
LRUCapacityController to see if something needs to be evicted, and uses
NewLRUClockHand to figure out what to evict.

-Dan

On Thu, Aug 24, 2017 at 9:02 AM, Roi Apelker <roi.apel...@amdocs.com> wrote:

> Hi,
>
> I am looking into the internals of the eviction process,
>
> Can anyone point me to the most important classes, the main mechanism
> "wheels" etc.?
>
> Thanks,
>
> Roi
>

Reply via email to