In the current eviction design, eviction happens per map segment, so when the segment gets filled up, eviction runs in that segment. This means that the theoretical maxEntries might never be achieved, but it'll be close enough. For more information, see the eviction documentation.