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

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
      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

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

              Dates

              Created:
              Updated:
              Resolved: