Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce contention on cache hash table mutex
Previously, the mutex was unnecessarily held while destroying cache entries in the case that `total_bytes_limit == 0`, leading to contention on the mutex in the case that destruction is expensive (e.g. release a large memory allocation). PiperOrigin-RevId: 688801635 Change-Id: I347f5c6312920bb6b4ae4b3396dbd6414654dfaa
- Loading branch information