/** * Allow a Node which was allocated as unevictable to be evictable, as the least recently * used. */ void makeEvictableNow(final Node node) { acquireExclusive(); try { // See comment in the makeEvictable method. if (mMaxSize != 0 && node.mLessUsed == null) { doMakeEvictableNow(node); } } finally { releaseExclusive(); } }
/** * Allow a Node which was allocated as unevictable to be evictable, as the least recently * used. */ void makeEvictableNow(final Node node) { acquireExclusive(); try { // See comment in the makeEvictable method. if (mMaxSize != 0 && node.mLessUsed == null) { doMakeEvictableNow(node); } } finally { releaseExclusive(); } }
mLeastRecentlyUsed = node; } else if (mMaxSize != 0) { doMakeEvictableNow(node);
mLeastRecentlyUsed = node; } else if (mMaxSize != 0) { doMakeEvictableNow(node);