-
Notifications
You must be signed in to change notification settings - Fork 556
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
Add recommended GraalVM native reflect-config.json #356
Comments
Here's an example of how it's currently difficult to know you have the right config for your application to work well and in a performant manner with GraalVM Native netty/netty#10376 |
Have you checked https://www.graalvm.org/22.0/reference-manual/native-image/Agent/? |
I would welcome a PR which automates this into the build :-) |
Hi @jvican, could you possibly share that reflect-config.json? I'm hitting the following error when compiling MpscArrayQueue with Graal and it's unclear how to resolve it:
|
I've lately been creating a complete reflect-config.json file with all of the fields that need to be available for Substrate VM (GraalVM Native) to produce an image that works correctly with the jctools API.
I was wondering if it would make sense to check in this file into this repository —or most ambitiously find a way we can automate the configuration of jctools with GraalVM Native— so that this work can be reused and there's less magic involved in compiling jctools to native. Would this be a welcome contribution @nitsanw ?
P.S. I'm myself not aware of a way we can configure the reflect-config.json automatically for GraalVM native to pick it up during compilation and thus automate the process of using this file, but if this was possible I'd happily implement something similar to this too.
The text was updated successfully, but these errors were encountered: