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

loopsAndThreads fails with: java.lang.InternalError: bad method type ()MethodHandle in MemberName.getMethodType

XMLWordPrintable

      $ java -showversion -server -Xmixed -XX:+UseG1GC -cp $VM7TESTBASE/execution/vm/bin/classes vm.mlvm.indy.stress.java.loopsAndThreads.INDIFY_Test -stressIterationsFactor 10 -stressThreadsFactor 100
      ...

      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b98)
      Java HotSpot(TM) Server VM (build 25.0-b40, mixed mode)

      Stress time: 60 seconds
      Stress iterations factor: 10
      Stress threads factor: 100
      # ERROR: Caught exception in Thread[Thread-34,5,main]
      # ERROR: java.lang.BootstrapMethodError: call site initialization exception
      # ERROR: at java.lang.invoke.CallSite.makeSite(CallSite.java:298)
      # ERROR: at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:294)
      # ERROR: at vm.mlvm.indy.stress.java.loopsAndThreads.INDIFY_Test.runThread(INDIFY_Test.java:12069)
      # ERROR: at vm.mlvm.share.MultiThreadedTest$2.run(MultiThreadedTest.java:46)
      # ERROR: at java.lang.Thread.run(Thread.java:724)
      # ERROR: Caused by: java.lang.LinkageError: bad method type ()MethodHandle
      # ERROR: at java.lang.invoke.MethodHandleNatives.linkMethodImpl(MethodHandleNatives.java:341)
      # ERROR: at java.lang.invoke.MethodHandleNatives.linkMethod(MethodHandleNatives.java:322)
      # ERROR: at java.lang.invoke.CallSite.makeSite(CallSite.java:270)
      # ERROR: ... 4 more
      # ERROR: Caused by: java.lang.InternalError: bad method type ()MethodHandle
      # ERROR: at java.lang.invoke.MemberName.getMethodType(MemberName.java:143)
      # ERROR: at java.lang.invoke.MemberName.getMethodOrFieldType(MemberName.java:108)
      # ERROR: at java.lang.invoke.MemberName.getInvocationType(MemberName.java:151)
      # ERROR: at java.lang.invoke.LambdaForm$NamedFunction.methodType(LambdaForm.java:1195)
      # ERROR: at java.lang.invoke.LambdaForm$NamedFunction.returnType(LambdaForm.java:1217)
      # ERROR: at java.lang.invoke.LambdaForm$Name.<init>(LambdaForm.java:1286)
      # ERROR: at java.lang.invoke.MethodHandle.reinvokerForm(MethodHandle.java:1384)
      # ERROR: at java.lang.invoke.MethodHandle.rebind(MethodHandle.java:1359)
      # ERROR: at java.lang.invoke.MethodHandle.bindArgument(MethodHandle.java:1315)
      # ERROR: at java.lang.invoke.DirectMethodHandle.bindArgument(DirectMethodHandle.java:156)
      # ERROR: at java.lang.invoke.MethodHandle.bindReceiver(MethodHandle.java:1321)
      # ERROR: at java.lang.invoke.DirectMethodHandle.bindReceiver(DirectMethodHandle.java:165)
      # ERROR: at java.lang.invoke.MethodHandles$Lookup.bind(MethodHandles.java:875)
      # ERROR: at java.lang.invoke.InvokeGeneric.dispatcher(InvokeGeneric.java:89)
      # ERROR: at java.lang.invoke.InvokeGeneric.makeInitialInvoker(InvokeGeneric.java:70)
      # ERROR: at java.lang.invoke.InvokeGeneric.<init>(InvokeGeneric.java:48)
      # ERROR: at java.lang.invoke.InvokeGeneric.generalInvokerOf(InvokeGeneric.java:60)
      # ERROR: at java.lang.invoke.Invokers.prepareForGenericCall(Invokers.java:388)
      # ERROR: at java.lang.invoke.Invokers.genericInvokerMethod(Invokers.java:250)
      # ERROR: at java.lang.invoke.MethodHandleNatives.linkMethodImpl(MethodHandleNatives.java:332)
      # ERROR: ... 6 more
      # ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest$2.run(MultiThreadedTest.java:56):
      # ERROR: Thread Thread[Thread-34,5,main] failed
      ### TRACE 1: Target was called 1089000 times of 1090000
      ### TRACE 1: TEST FAILED

            twisti Christian Thalinger (Inactive)
            twisti Christian Thalinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: