eclipse-vertx / vert.x

Vert.x is a tool-kit for building reactive applications on the JVM
http://vertx.io
Other
14.26k stars 2.07k forks source link

JacksonCodec use recycler pool #5247

Closed vietj closed 2 months ago

vietj commented 2 months ago

The JacksonCodec implementation of toString/toBuffer lacks of efficiency compared to the DatabindCodec implementation which uses the buffer recyler of Jackson.

Update the JacksonCodec implementation to use the buffer recycler instead.

In addition we drop Jackson < 2.16 in 5.0