Skip to content

Commit eb86a5d

Browse files
committed
Merge branch '2.9'
2 parents 24f65a2 + 6a0031b commit eb86a5d

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ com.fasterxml.jackson.core.*;version=${project.version}
8383
<excludes>
8484
<exclude>**/failing/**/*.java</exclude>
8585
</excludes>
86+
<!-- 13-Apr-2018, tatu: for debugging [core#400]
87+
<systemPropertyVariables>
88+
<com.fasterxml.jackson.core.util.BufferRecyclers.trackReusableBuffers>true</com.fasterxml.jackson.core.util.BufferRecyclers.trackReusableBuffers>
89+
</systemPropertyVariables>
90+
-->
8691
</configuration>
8792
</plugin>
8893
<plugin> <!-- default settings are fine, just need to enable here -->

release-notes/CREDITS-2.x

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,8 @@ Rafal Foltynski (rfoltyns@github)
145145
(2.9.0)
146146
* Contributed#208: Make use of `_matchCount` in `FilteringParserDelegate`
147147
(2.9.0)
148+
149+
Jeroen Borgers (jborgers@github)
150+
* Reported, contributed impl for #400: Add mechanism for forcing `BufferRecycler` released
151+
(to call on shutdown)
152+
(2.9.6)

release-notes/VERSION-2.x

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ JSON library.
1414
=== Releases ===
1515
------------------------------------------------------------------------
1616

17+
2.9.6 (not yet released)
18+
19+
#400: Add mechanism for forcing `BufferRecycler` released (to call on shutdown)
20+
(contributed by Jeroen B)
21+
1722
2.9.5 (26-Mar-2018)
1823

1924
No changes since 2.9.4

src/main/java/com/fasterxml/jackson/core/util/BufferRecyclers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class BufferRecyclers
3636
*/
3737
private final static ThreadLocalBufferManager _bufferRecyclerTracker;
3838
static {
39-
_bufferRecyclerTracker = "true".equals(System.getProperty("com.fasterxml.jackson.core.use_releasable_thread_local_buffers"))
39+
_bufferRecyclerTracker = "true".equals(System.getProperty(SYSTEM_PROPERTY_TRACK_REUSABLE_BUFFERS))
4040
? ThreadLocalBufferManager.instance()
4141
: null;
4242
}

0 commit comments

Comments
 (0)