You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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:
Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: producerIndex at com.couchbase.client.core.deps.org.jctools.util.UnsafeAccess.fieldOffset(UnsafeAccess.java:111) at com.couchbase.client.core.deps.org.jctools.queues.MpscArrayQueueProducerIndexField.<clinit>(MpscArrayQueue.java:48) ... 47 more
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: