FasterXML/jackson-core

Add `RecyclerPool.clear()` method for dropping all pooled Objects

cowtowncoder opened this issue · 0 comments

(note: related to #1117 )

There should be mechanism through which one can clear recycled buffer instances (for pools that do actual recycling (no op for non-recycling fake instances; and are able to clear instances (not applicable to ThreadLocal based pool).
This may be necessary since many implementations are unbounded (theoretically).