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

[Graal] stack underflow in MethodHandlePlugin

XMLWordPrintable

      The failing test is jdk/internal/misc/ThreadFlock/ThreadFlockTest.java#virtual and it's being run with the arguments:

      -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+DeoptimizeALot -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler

      The exception being thrown is:

      Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 6
      at jdk.graal.compiler/jdk.graal.compiler.java.FrameStateBuilder.xpop(FrameStateBuilder.java:929)
      at jdk.graal.compiler/jdk.graal.compiler.java.FrameStateBuilder.pop(FrameStateBuilder.java:918)
      at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.pop(BytecodeParser.java:3869)
      at jdk.graal.compiler/jdk.graal.compiler.replacements.MethodHandlePlugin.handleInvoke(MethodHandlePlugin.java:144)

      possibly some mismatch between the actual return value and method handle return value.

            never Tom Rodriguez
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: