File tree 2 files changed +6
-7
lines changed
src/main/java/com/fasterxml/jackson/core/util
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ a pure JSON library.
29
29
#1264 : Rename shaded `ch.randelshofer:fastdoubleparser` classes
30
30
to prevent use by downstream consumers
31
31
(requested by @seadbrane )
32
- #1266 : Change default recycler pool to `newConcurrentDequePool()` in 2.18
33
32
#1271 : Deprecate `LockFreePool` implementation in 2.18 (remove from 3.0)
34
33
#1277 : Add back Java 22 optimisation in FastDoubleParser
35
34
Original file line number Diff line number Diff line change @@ -18,17 +18,17 @@ public final class JsonRecyclerPools
18
18
{
19
19
/**
20
20
* Method to call to get the default recycler pool instance:
21
- * as of Jackson 2.18.x and later (except for 2.17.0) this is same as calling
22
- * {@link #newConcurrentDequePool()}: before this it was calling
23
- * {@link #threadLocalPool()} (except for 2.17.1 that temporarily
24
- * called {@link #newLockFreePool()}, changed back due to reported issues).
21
+ * as of Jackson 2.18 this is same as calling
22
+ * {@link #threadLocalPool()}: Jackson 2.17.0 instead had this call
23
+ * {@link #newLockFreePool()} but this was reverted due to problems reported.
24
+ *<p>
25
+ * Default pool will likely be changed in Jackson 3.0 to something else.
25
26
*
26
27
* @return the default {@link RecyclerPool} implementation to use
27
28
* if no specific implementation desired.
28
29
*/
29
30
public static RecyclerPool <BufferRecycler > defaultPool () {
30
- // since 2.18.0:
31
- return newConcurrentDequePool ();
31
+ return threadLocalPool ();
32
32
}
33
33
34
34
/**
You can’t perform that action at this time.
0 commit comments