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

SA: TestCpoolForInvokeDynamic.java fails with sun.jvm.hotspot.debugger.DebuggerException: binary search bug: should have found entry 1

    Details

    • Subcomponent:
    • Resolved In Build:
      b150
    • CPU:
      x86_64
    • OS:
      linux

      Description

      Following is the stack trace from the nightly failure:

      Constant Pool
      Constant Pool of [public class LingeredAppWithInvokeDynamic @0x00000007c0060ab0] @0x00007f3433c01090
      sun.jvm.hotspot.debugger.DebuggerException: binary search bug: should have found entry 1
      at sun.jvm.hotspot.oops.InstanceKlass.findMethod(jdk.hotspot.agent@9-internal/InstanceKlass.java:1013)
      at sun.jvm.hotspot.oops.InstanceKlass.findMethod(jdk.hotspot.agent@9-internal/InstanceKlass.java:861)
      at sun.jvm.hotspot.oops.ConstantPool.getMethodRefAt(jdk.hotspot.agent@9-internal/ConstantPool.java:347)
      at sun.jvm.hotspot.interpreter.BytecodeInvoke.getInvokedMethod(jdk.hotspot.agent@9-internal/BytecodeInvoke.java:73)
      at sun.jvm.hotspot.ui.classbrowser.HTMLGenerator$1.visit(jdk.hotspot.agent@9-internal/HTMLGenerator.java:699)
      at sun.jvm.hotspot.interpreter.BytecodeDisassembler.decode(jdk.hotspot.agent@9-internal/BytecodeDisassembler.java:156)
      at sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genHTML(jdk.hotspot.agent@9-internal/HTMLGenerator.java:651)
      at TestCpoolForInvokeDynamic.printBytecodes(TestCpoolForInvokeDynamic.java:83)
      at TestCpoolForInvokeDynamic.main(TestCpoolForInvokeDynamic.java:143)
      sun.jvm.hotspot.debugger.DebuggerException: binary search bug: should have found entry 2
      at sun.jvm.hotspot.oops.InstanceKlass.findMethod(jdk.hotspot.agent@9-internal/InstanceKlass.java:1013)
      at sun.jvm.hotspot.oops.InstanceKlass.findMethod(jdk.hotspot.agent@9-internal/InstanceKlass.java:861)
      at sun.jvm.hotspot.oops.ConstantPool.getMethodRefAt(jdk.hotspot.agent@9-internal/ConstantPool.java:347)
      at sun.jvm.hotspot.interpreter.BytecodeInvoke.getInvokedMethod(jdk.hotspot.agent@9-internal/BytecodeInvoke.java:73)
      at sun.jvm.hotspot.ui.classbrowser.HTMLGenerator$1.visit(jdk.hotspot.agent@9-internal/HTMLGenerator.java:699)
      at sun.jvm.hotspot.interpreter.BytecodeDisassembler.decode(jdk.hotspot.agent@9-internal/BytecodeDisassembler.java:156)
      at sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genHTML(jdk.hotspot.agent@9-internal/HTMLGenerator.java:651)
      at TestCpoolForInvokeDynamic.printBytecodes(TestCpoolForInvokeDynamic.java:83)
      at TestCpoolForInvokeDynamic.main(TestCpoolForInvokeDynamic.java:143)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jgeorge Jini George (Inactive)
                Reporter:
                jgeorge Jini George (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: