Hi; ConcurrentLRUCache<K,V> class has that lines:
... long oldestEntry = this.oldestEntry; isCleaning = true; this.oldestEntry = oldestEntry; // volatile write to make isCleaning visible ... What does that assignment and so makes isCleaning visible? Thanks; Furkan KAMACI