Title: Netty 4.2 series and the adaptive allocator. · Issue #261 · lmdbjava/lmdbjava · GitHub
Open Graph Title: Netty 4.2 series and the adaptive allocator. · Issue #261 · lmdbjava/lmdbjava
X Title: Netty 4.2 series and the adaptive allocator. · Issue #261 · lmdbjava/lmdbjava
Description: Netty 4.2 introduces a new default buffer allocator - see the migration guide and in particular: Netty 4.2 changes the default allocator to adaptive. To de-risk this change, it is recommended to first upgrade to 4.2 while explicitly conf...
Open Graph Description: Netty 4.2 introduces a new default buffer allocator - see the migration guide and in particular: Netty 4.2 changes the default allocator to adaptive. To de-risk this change, it is recommended to fi...
X Description: Netty 4.2 introduces a new default buffer allocator - see the migration guide and in particular: Netty 4.2 changes the default allocator to adaptive. To de-risk this change, it is recommended to fi...
Opengraph URL: https://github.com/lmdbjava/lmdbjava/issues/261
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Netty 4.2 series and the adaptive allocator.","articleBody":"Netty 4.2 introduces a new default buffer allocator - see the [migration guide](https://github.com/netty/netty/wiki/Netty-4.2-Migration-Guide) and in particular:\n\n\u003e Netty 4.2 changes the default allocator to adaptive. To de-risk this change, it is recommended to first upgrade to 4.2 while explicitly configuring the pooled allocator, and then remove the allocator configuration as a second step. To explicitly configure the pooled allocator, set this system property: io.netty.allocator.type=pooled\n\nI have confirmed that in my codebase using lmdbjava, setting the system property means lmdbjava continues to work with netty 4.2.\n\nMy inclination would be to add a new buffer proxy PROXY_NETTY_ADAPTIVE, rename the older proxy to PROXY_NETTY_POOLED and for backwards compatibility keep PROXY_NETTY. The latter could default to the same as PROXY_NETTY_POOLED or attempt to choose the default based on netty version (Netty does provide a Version class so this could be determined at runtime and cached but with some added complexity obviously).\n\nI asked Claude to help with this, and I will append its response in a separate message. \n\nWhat do people think of this idea? \n\nWould there be an appetite to look at a PR to add netty 4.2 support? This would allow performance testing of the new adaptive allocator?\n\n\n\n","author":{"url":"https://github.com/wardle","@type":"Person","name":"wardle"},"datePublished":"2025-10-25T17:03:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/261/lmdbjava/issues/261"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1e2b498d-79c5-399d-35a0-0d858ce8407b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F70:28493E:51B512:72E641:6970AA25 |
| html-safe-nonce | d0f41f1e7cc03b5c143b2b33ced8f9f4a0d5e9df8c517a38e03561e3fd4249bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjcwOjI4NDkzRTo1MUI1MTI6NzJFNjQxOjY5NzBBQTI1IiwidmlzaXRvcl9pZCI6Ijg0OTU1ODQ5NTEyMzM3MTg4MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 21226567dfcd9d20fd939d9800b620043136f80b9f160819b3c2911186451e44 |
| hovercard-subject-tag | issue:3552726742 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lmdbjava/lmdbjava/261/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a6c2fb859d866be7cd9a5276e150635ab351766d7d0847032f0c1c65e540c17/lmdbjava/lmdbjava/issues/261 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a6c2fb859d866be7cd9a5276e150635ab351766d7d0847032f0c1c65e540c17/lmdbjava/lmdbjava/issues/261 |
| og:image:alt | Netty 4.2 introduces a new default buffer allocator - see the migration guide and in particular: Netty 4.2 changes the default allocator to adaptive. To de-risk this change, it is recommended to fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wardle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5246860f280a060af866c1c633f74a6720ad2dd5d576534e4c5e462496b693ae |
| turbo-cache-control | no-preview |
| go-import | github.com/lmdbjava/lmdbjava git https://github.com/lmdbjava/lmdbjava.git |
| octolytics-dimension-user_id | 19765602 |
| octolytics-dimension-user_login | lmdbjava |
| octolytics-dimension-repository_id | 60480511 |
| octolytics-dimension-repository_nwo | lmdbjava/lmdbjava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 60480511 |
| octolytics-dimension-repository_network_root_nwo | lmdbjava/lmdbjava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d29ab0ba8deb7bbecf06b664759d4e847623783 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width