Re: Groovy issue with GraalVM native-image for a large number of consecutive method calls

2023-12-24 Thread Jochen Theodorou
On 24.12.23 18:36, Damir Murat wrote: [...] So, back to the problem. In the native image built with GraalVM, when executing some methods repeatedly for a huge number of times (more than 1 to be exact), Groovy can cause the following exception:   com.oracle.svm.core.jdk.UnsupportedFeatureErr

Groovy issue with GraalVM native-image for a large number of consecutive method calls

2023-12-24 Thread Damir Murat
I had an issue with Groovy and GraalVM native-image that occurs rarely but consistently. It is especially problematic because it happens only at runtime without any warning from the native-image builder. I cannot claim I understand all underlying mechanics precisely, but I will try to explain i