- manage collection size manually - check cache hit first before size check - reduce read-lock scope - use `map.get` to test cache instead of `queue.remove` Closes gh-24469 See gh-24671
- manage collection size manually - check cache hit first before size check - reduce read-lock scope - use `map.get` to test cache instead of `queue.remove` Closes gh-24469 See gh-24671