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: patch-diff.githubusercontent.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:7159ba15-880b-9e22-c158-e1720737832d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B44:29B9E4:754AD1:A0DE46:696FF4C8 |
| html-safe-nonce | 0c0394b0e050ac16975357e04fb9cad5b82de4c385dd7cd37fd8ee7ac2eae75f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjQ0OjI5QjlFNDo3NTRBRDE6QTBERTQ2OjY5NkZGNEM4IiwidmlzaXRvcl9pZCI6IjE2NjQ0MzI1OTQ5OTc5OTg3OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 19d709a5233fff0ff833a40adca81104ed15343761e29f084d95b1a38e002d4b |
| 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 | 61db99bbb6a7517db80567029869280bdefa9fa883092d6c2aa07ec4ea15f359 |
| 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 | 91ceb31fcdebd150222e05551caf4a28f9532341 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width