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
GraalVM now offers an official way to detect its presence via the org.graalvm.nativeimage.imagecode system property. We use that in Spring to adapt to Graal (see GraalDetector). You could maybe add similar capabilities to Netty PlatformDependent. That's seems similar to what you are doing now depending on JDK versions and other parameters, and I think Netty + Graal native images are a pretty exciting combination.
Current area that need customization with Reactor Netty that could take advantage of a dedicated GraalVM detection mechanism are:
GraalVM now offers an official way to detect its presence via the
org.graalvm.nativeimage.imagecode
system property. We use that in Spring to adapt to Graal (see GraalDetector). You could maybe add similar capabilities to NettyPlatformDependent
. That's seems similar to what you are doing now depending on JDK versions and other parameters, and I think Netty + Graal native images are a pretty exciting combination.Current area that need customization with Reactor Netty that could take advantage of a dedicated GraalVM detection mechanism are:
ClassNotFoundException: com.jcraft.jzlib.Deflater
when--report-unsupported-elements-at-runtime
is not used, see ClassNotFoundException: com.jcraft.jzlib.Deflater when generating native image oracle/graal#494-Dio.netty.noUnsafe=true
has to be specified explicitlyThis blog post contains also valuable information.
The text was updated successfully, but these errors were encountered: