- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    9
- 
        b150
- 
        x86_64
- 
        linux
                    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)
            
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)
- relates to
- 
                    JDK-8174798 Mis-merge left serviceability/sa/TestCpoolForInvokeDynamic.java ignored -           
- Resolved
 
-         
- 
                    JDK-8164783 SA: jhsdb clhsdb 'printall' often throws "Corrupted constant pool" assertion failure -           
- Resolved
 
-         
- 
                    JDK-8169698 SA: Check and fix cases of potential data loss due to 'long' to 'int' truncation with calls to minus() -           
- Closed
 
-         
               There are no Sub-Tasks for this issue.