maxCapacity property
Upper bound on freeCount + activeCount this pool ever holds onto —
acquire may still create past it (a pool never refuses to hand out
an object), but release disposes rather than retains once at the
cap, so a burst that briefly exceeds it doesn't permanently bloat the
pool's resting size.
Implementation
final int maxCapacity;