-
-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Description
See FasterXML/jackson-module-scala#672 Thanks to @plokhotnyuk for doing the research.
jackson-core has a new buffer recycler default in 2.17 that will cause perf issues for some users.
Specifically, creating lots of ObjectMappers that have not been created using shared JsonFactory instances will likely lead to much worse perf with creating byte and char arrays in Jackson. Jackson 2.16 and before used a buffer recycler based on ThreadLocal whose lifecycle was scoped just to the thread as opposed to the new approach where the buffer recycler lifecycle is scoped to the JsonFactory. If you don't use the same JsonFactory when creating ObjectMappers, then you will get new buffer-recycler instances for every instance of ObjectMapper.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels