Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8248410

Correct Fix for 8236647: java/lang/invoke/CallSiteTest.java failed with InvocationTargetException in Graal mode

XMLWordPrintable

    • b30

        The fix in 8236647: java/lang/invoke/CallSiteTest.java failed with InvocationTargetException in Graal mode added an inner class which causes problems when GraalVM native-image is generating libjvmcicompiler.

        at com.oracle.svm.core.code.IsolateEnterStub.TruffleToLibGraalEntryPoints_installTruffleCallBoundaryMethods_3aa85e7f55c4718d4b6345496ed0a7b255c6f867(generated:0)
        Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: HotSpotResolvedJavaFieldImpl<java.lang.invoke.ConstantCallSite.isFrozen boolean:20>
        Trace:
            at parsing jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.isFullyInitializedConstantCallSite(HotSpotObjectConstantImpl.java:79)
        Call path from entry point to jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.isFullyInitializedConstantCallSite():
            at jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.isFullyInitializedConstantCallSite(HotSpotObjectConstantImpl.java:75)
            at jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.getCallSiteTarget(HotSpotObjectConstantImpl.java:94)
            at org.graalvm.compiler.hotspot.replacements.CallSiteTargetNode.tryFold(CallSiteTargetNode.java:60)
            at org.graalvm.compiler.hotspot.replacements.CallSiteTargetNode.canonical(CallSiteTargetNode.java:70)
            at org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tryCanonicalize(CanonicalizerPhase.java:389)
            at org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.processNode(CanonicalizerPhase.java:341)
            at org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.processWorkSet(CanonicalizerPhase.java:300)
            at org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.run(CanonicalizerPhase.java:262)
            at org.graalvm.compiler.phases.Phase.run(Phase.java:49)
            at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:214)
            at org.graalvm.compiler.phases.Phase.apply(Phase.java:42)
            at org.graalvm.compiler.phases.Phase.apply(Phase.java:38)

              bobv Bob Vandette (Inactive)
              bobv Bob Vandette (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: