The code is attached. Graal failed with:
hread[JVMCI CompilerThread0,9,system]: Compilation of Test.vMeth(double) failed: java.lang.StackOverflowError
at jdk.internal.vm.ci/jdk.vm.ci.meta.NullConstant.isNull(NullConstant.java:40)
at jdk.internal.vm.ci/jdk.vm.ci.meta.JavaConstant.isNonNull(JavaConstant.java:76)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.nodes.StaticDeoptimizingNode.computePriority(StaticDeoptimizingNode.java:68)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:169)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)
at jdk.internal.vm.compiler@11-ea/org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.propagateFixed(ConvertDeoptimizeToGuardPhase.java:182)