-
-
Notifications
You must be signed in to change notification settings - Fork 811
Add full set of RecyclerPool
implementations
#1064
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
cowtowncoder
merged 31 commits into
FasterXML:2.16
from
mariofusco:216_buffer_recycler_pool
Aug 31, 2023
Merged
Changes from 27 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c647bbf
Introducing BufferRecyclerPool
mariofusco b1eacd4
fix ReadConstrainedTextBufferTest to work with both a brand new Buffe…
mariofusco d5d3a14
minor refactor
mariofusco 67459da
check performances of different object pool implementations
mariofusco 7099315
ensure that all parsers and generators are properly closed in tests
mariofusco b404daf
cleanup pool implementations
mariofusco 30dc6c3
make BufferRecycler closeable and disable the new ObjectPool by default
mariofusco 0f8bd70
wip
mariofusco b09fd6e
wip
mariofusco d949043
javadoc + better pool management + pool decorator for debug
mariofusco b9c24c2
fix compilation problems after rebase
mariofusco 44e446b
readd virtual threads friendly BufferRecyclerPool implementations
mariofusco 835076c
add test class
mariofusco 843648b
...
cowtowncoder 98691fc
Fix a merge issue
cowtowncoder 5cf738d
...
cowtowncoder 2e64334
wip
mariofusco 3375a0b
fix tests
mariofusco 643e5e6
add comments
mariofusco 454018c
remove enum of pool implementations
mariofusco 1d01060
Merge branch '2.16' into 216_buffer_recycler_pool
cowtowncoder 5594136
Minor tweaks: add javadoc, reduce diff from 2.16
cowtowncoder e3a0971
Bit more cleanup; remove addition of default recycler pool access via…
cowtowncoder 16add03
Warnings removal
cowtowncoder d9e585b
Merge branch '2.16' into 216_buffer_recycler_pool
cowtowncoder 79b2885
Refactoring, adding more Javadocs
cowtowncoder 0f359fc
Minor change to test class
cowtowncoder 5394156
improve tests checking that pooled BufferRecycler is properly acquire…
mariofusco 9d53f00
add bounded pool implementation
mariofusco 58e6f30
Adding Javadocs, minor renaming
cowtowncoder eb2461b
Implement sharing-retaining JDK serialization for BufferRecyclerPools.
cowtowncoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,6 +76,7 @@ public void close() | |
illegalSurrogate(code); | ||
} | ||
} | ||
_context.close(); | ||
} | ||
|
||
@Override | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.