-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Support building with graal #5126
Comments
I think these are a recent regression, but probably typical with graal and kotlin and using edge cases. It would be good to get a working build showing it is supported. I can build OkHttp 3.14.1 based apps with graal, so something here has changed. |
Most likely a Kotlin+Graal issue we’re victim to? |
I might try to get ./gradlew :okcurl:nativeImage building, land that with a separate build that tells us when broken. Useful for testing anyway. Are you ok with that plan? |
Sure. I don't know enough about Graal to understand how this will constrain us, or what benefits we gain from it. |
It's getting adopted by various frameworks e.g. micronauts, and more relevant for fast startup in FaaS models. Support for it generally is more important than okcurl. Demonstrable performance on a desktop machine for java okhttp
|
I think two main impact of not having clean graal support are
|
Working with some caveats #5294
Otherwise it frequently blows up because server negotiates ECC cipher and then client fails. |
I think some of the advanced usage of kotlin is tripping up graal. But it seems worthwhile to support particularly in the serverless space.
#5125
Currently failing for me with
The text was updated successfully, but these errors were encountered: