Once we can make MemoryCache weak (issue 603462) and let Resource's get collected after all clients are removed, we should be able to remove SharedBuffer::unlock.
I'm thinking we might be able to remove SharedBuffer::unlock() if the resurrection rate -- successful lock() after unlock() -- is sufficiently low, independently from Weak MemoryCache.
To investigate the ratio, I uploaded a CL: https://codereview.chromium.org/2140513002/
Comment 1 by kinuko@chromium.org
, Apr 15 2016Blocking: 569162