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

SA-JDI JSR292: sun.jvm.hotspot.jdi.StackFrameImpl.getArgumentValues() fails with java.lang.ArrayIndexOutOfBoundsException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • 9
    • 9
    • hotspot
    • svc

    Description

      Debugger test fails on JDK9 with exception:

      # ERROR: Test caught an exception:
      # ERROR: java.lang.ArrayIndexOutOfBoundsException: 28 12
      # ERROR: at sun.jvm.hotspot.utilities.GenericArray.getIntegerAt(GenericArray.java:58)
      # ERROR: at sun.jvm.hotspot.utilities.U2Array.at(U2Array.java:59)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.invokedynamicCPCacheIndex(ConstantPool.java:268)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.invokedynamicCPCacheEntryAt(ConstantPool.java:273)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.implNameAndTypeRefIndexAt(ConstantPool.java:282)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.implGetSignatureRefAt(ConstantPool.java:254)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.getSignatureRefAt(ConstantPool.java:246)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.doMethod(GenerateOopMap.java:1731)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.interp1(GenerateOopMap.java:1386)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.interpBB(GenerateOopMap.java:803)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.interpAll(GenerateOopMap.java:1109)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.doInterpretation(GenerateOopMap.java:982)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.computeMap(GenerateOopMap.java:2199)
      # ERROR: at sun.jvm.hotspot.interpreter.OopMapForCacheEntry.computeMap(OopMapForCacheEntry.java:80)
      # ERROR: at sun.jvm.hotspot.interpreter.OopMapCacheEntry.fill(OopMapCacheEntry.java:53)
      # ERROR: at sun.jvm.hotspot.oops.Method.getMaskFor(Method.java:263)
      # ERROR: at sun.jvm.hotspot.runtime.InterpretedVFrame.getLocals(InterpretedVFrame.java:53)
      # ERROR: at sun.jvm.hotspot.jdi.StackFrameImpl.getArgumentValues(StackFrameImpl.java:214)
      # ERROR: at vm.mlvm.share.jdi.JDIBreakpointTest.getStackTraceStr(JDIBreakpointTest.java:446)
      # ERROR: at vm.mlvm.share.sajdi.SAJDIStackMatchTest.run(SAJDIStackMatchTest.java:82)
      # ERROR: at vm.mlvm.share.MlvmTest.runMlvmTest(MlvmTest.java:225)
      # ERROR: at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:141)
      # ERROR: at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:106)
      # ERROR: at vm.mlvm.share.sajdi.SAJDIStackMatchTest.main(SAJDIStackMatchTest.java:123)
      # ERROR: Test caught an exception:
      # ERROR: java.lang.ArrayIndexOutOfBoundsException: 28 12
      # ERROR: at sun.jvm.hotspot.utilities.GenericArray.getIntegerAt(GenericArray.java:58)
      # ERROR: at sun.jvm.hotspot.utilities.U2Array.at(U2Array.java:59)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.invokedynamicCPCacheIndex(ConstantPool.java:268)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.invokedynamicCPCacheEntryAt(ConstantPool.java:273)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.implNameAndTypeRefIndexAt(ConstantPool.java:282)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.implGetSignatureRefAt(ConstantPool.java:254)
      # ERROR: at sun.jvm.hotspot.oops.ConstantPool.getSignatureRefAt(ConstantPool.java:246)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.doMethod(GenerateOopMap.java:1731)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.interp1(GenerateOopMap.java:1386)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.interpBB(GenerateOopMap.java:803)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.interpAll(GenerateOopMap.java:1109)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.doInterpretation(GenerateOopMap.java:982)
      # ERROR: at sun.jvm.hotspot.oops.GenerateOopMap.computeMap(GenerateOopMap.java:2199)
      # ERROR: at sun.jvm.hotspot.interpreter.OopMapForCacheEntry.computeMap(OopMapForCacheEntry.java:80)
      # ERROR: at sun.jvm.hotspot.interpreter.OopMapCacheEntry.fill(OopMapCacheEntry.java:53)
      # ERROR: at sun.jvm.hotspot.oops.Method.getMaskFor(Method.java:263)
      # ERROR: at sun.jvm.hotspot.runtime.InterpretedVFrame.getLocals(InterpretedVFrame.java:53)
      # ERROR: at sun.jvm.hotspot.jdi.StackFrameImpl.getArgumentValues(StackFrameImpl.java:214)
      # ERROR: at vm.mlvm.share.jdi.JDIBreakpointTest.getStackTraceStr(JDIBreakpointTest.java:446)
      # ERROR: at vm.mlvm.share.sajdi.SAJDIStackMatchTest.run(SAJDIStackMatchTest.java:82)
      # ERROR: at vm.mlvm.share.MlvmTest.runMlvmTest(MlvmTest.java:225)
      # ERROR: at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:141)
      # ERROR: at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:106)
      # ERROR: at vm.mlvm.share.sajdi.SAJDIStackMatchTest.main(SAJDIStackMatchTest.java:123)

      Attachments

        Activity

          People

            dsamersoff Dmitriy Samersoff
            ppunegov Pavel Punegov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: