Please sign in to comment.
Fix deadlock in SoftReferenceCache apply function.
When we find a stale SoftReference, release the read lock, then acquire the write lock, double-check that the reference is still stale, and then finally remove the entry from the cache.
- Loading branch information...
Showing with 20 additions and 7 deletions.