Branch: refs/heads/master
Home:
https://github.com/resteasy/Resteasy
Commit: 2f2d1d6e9e850de716b319d0b94504e593d4bfda
https://github.com/resteasy/Resteasy/commit/2f2d1d6e9e850de716b319d0b9450...
Author: Alessio Soldano <asoldano(a)redhat.com>
Date: 2019-04-04 (Thu, 04 Apr 2019)
Changed paths:
M
providers/jackson2/src/main/java/org/jboss/resteasy/plugins/providers/jackson/ResteasyJackson2Provider.java
Log Message:
-----------
[RESTEASY-2211] Explicitly close the JsonParser instances, as that eventually results in
ByteBufferRecycler#releaseByteBuffer(..) being invoked for the byte buffer used for
reading the JSON text stream; as a consequence, the previously allocated memory for such
buffer will re-used next time the same thread needs to process another stream.