File tree 2 files changed +9
-4
lines changed
src/main/java/com/fasterxml/jackson/core/util
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ a pure JSON library.
19
19
#507 : Add `JsonWriteFeature .ESCAPE_FORWARD_SLASHES ` to allow escaping of '/' for
20
20
String values
21
21
(contributed by Joo - Hyuk K )
22
+ #1117 : Change default `RecylerPool` implementation to `newLockFreePool` (from
23
+ `threadLocalPool `)
22
24
#1137 : Improve detection of "is a NaN" to only consider explicit cases,
23
25
not `double ` overflow /underflow
24
26
#1145 : `JsonPointer.appendProperty(String)` does not escape the property name
Original file line number Diff line number Diff line change 18
18
public final class JsonRecyclerPools
19
19
{
20
20
/**
21
- * @return the default {@link RecyclerPool} implementation
22
- * which is the thread local based one:
23
- * basically alias to {@link #threadLocalPool()}).
21
+ * Method to call to get the default recycler pool instance:
22
+ * as of Jackson 2.17 this is same as calling
23
+ * {@link #newLockFreePool()}; earlier
24
+ *
25
+ * @return the default {@link RecyclerPool} implementation to use
26
+ * if no specific implementation desired.
24
27
*/
25
28
public static RecyclerPool <BufferRecycler > defaultPool () {
26
- return threadLocalPool ();
29
+ return newLockFreePool ();
27
30
}
28
31
29
32
/**
You can’t perform that action at this time.
0 commit comments