One major new feature in Jackson 2.16 was addition of pluggable RecyclerPools (see #1064 f.ex).
But unfortunately their functioning was not tested beyond regression testing for the default, ThreadLocal-based legacy RecyclerPool.
Let's start by adding streaming-level testing first.
EDIT: there is actually one test -- BufferRecyclerPoolTest -- that verifies some aspects but is limited (only simple generation case, not parser), but we can do better.
(note: spun off of https://github.com/FasterXML/jackson-databind/issues/4321)
One major new feature in Jackson 2.16 was addition of pluggable
RecyclerPool
s (see #1064 f.ex). But unfortunately their functioning was not tested beyond regression testing for the default, ThreadLocal-based legacyRecyclerPool
. Let's start by adding streaming-level testing first.EDIT: there is actually one test --
BufferRecyclerPoolTest
-- that verifies some aspects but is limited (only simple generation case, not parser), but we can do better.