-
Notifications
You must be signed in to change notification settings - Fork 94
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
Replace aged afterburner with the sr71 blackbird module #2022
Conversation
Afterburner uses several internal methods which result in warnings in modern jdks, and result in failures using jdk16+. The replacement Blackbird module uses LambdaMetafactory for a more sustainable solution. Documentation: https://github.com/FasterXML/jackson-modules-base/tree/2.13/blackbird#jackson-blackbird
Generate changelog in
|
Released 7.6.0 |
See palantir/conjure-java-runtime#2022 Afterburner uses several internal methods which result in warnings in modern jdks, and result in failures using jdk16+. The replacement Blackbird module uses LambdaMetafactory for a more sustainable solution. Documentation: https://github.com/FasterXML/jackson-modules-base/tree/2.13/blackbird#jackson-blackbird
@carterkozak I vaguely recall the folks who work on our internal auth'd elasticsearch caring a lot about how fast serde is... do we have any predictions about how fast blackbird is compared to afterburner?? (is it the same codegen just loaded in a different way? or a whole different approach) |
More or less equivalent, except that it only applies to method calls and not direct field access. Fortunately conjure exclusively uses methods. There may be some variation in types with annotated fields, but I don't expect it to be substantial. |
Afterburner uses several internal methods which result in warnings in
modern jdks, and result in failures using jdk16+.
The replacement Blackbird module uses LambdaMetafactory for a more
sustainable solution.
Documentation:
https://github.com/FasterXML/jackson-modules-base/tree/2.13/blackbird#jackson-blackbird
==COMMIT_MSG==
Replace aged afterburner with the sr71 blackbird module
==COMMIT_MSG==
Possible downsides?
Sometimes jackson changes can be brittle, it's possible bugs exist in the blackbird module that weren't present in afterburner. We have a great deal of test coverage, so I'm not worried as long as tests pass.