Description
long sizeBytes() { long sizeInBytes = 0; for (final NamedCache namedCache : caches.values()) { sizeInBytes += namedCache.sizeInBytes(); } return sizeInBytes; }
The summation w.r.t. sizeInBytes may overflow.
Check similar to what is done in size() should be performed.
Attachments
Issue Links
- links to