The 'printall' command often throws the following assertion failure. (this is with a slowdebug version).
hsdb> printall
sun.jvm.hotspot.utilities.AssertionFailure: Corrupted constant pool
at sun.jvm.hotspot.utilities.Assert.that(jdk.hotspot.agent/Assert.java:32)
at sun.jvm.hotspot.oops.ConstantPool.getFieldOrMethodAt(jdk.hotspot.agent/ConstantPool.java:209
)
at sun.jvm.hotspot.oops.ConstantPool.getFieldOrMethodKlassRefAt(jdk.hotspot.agent/ConstantPool.
java:336)
at sun.jvm.hotspot.oops.ConstantPool.getMethodRefAt(jdk.hotspot.agent/ConstantPool.java:343)
at sun.jvm.hotspot.interpreter.BytecodeInvoke.getInvokedMethod(jdk.hotspot.agent/BytecodeInvoke
.java:73)
at sun.jvm.hotspot.ui.classbrowser.HTMLGenerator$1.visit(jdk.hotspot.agent/HTMLGenerator.java:6
96)
at sun.jvm.hotspot.interpreter.BytecodeDisassembler.decode(jdk.hotspot.agent/BytecodeDisassembl
er.java:156)
at sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genHTML(jdk.hotspot.agent/HTMLGenerator.java:6
51)
at sun.jvm.hotspot.CommandProcessor$19$1.visit(jdk.hotspot.agent/CommandProcessor.java:898)
at sun.jvm.hotspot.memory.SystemDictionary$2.visit(jdk.hotspot.agent/SystemDictionary.java:179)
at sun.jvm.hotspot.memory.Dictionary.classesDo(jdk.hotspot.agent/Dictionary.java:68)
at sun.jvm.hotspot.memory.SystemDictionary.classesDo(jdk.hotspot.agent/SystemDictionary.java:19
0)
at sun.jvm.hotspot.memory.SystemDictionary.allClassesDo(jdk.hotspot.agent/SystemDictionary.java
:183)
at sun.jvm.hotspot.CommandProcessor$19.doit(jdk.hotspot.agent/CommandProcessor.java:891)
at sun.jvm.hotspot.CommandProcessor.executeCommand(jdk.hotspot.agent/CommandProcessor.java:1963
)
at sun.jvm.hotspot.CommandProcessor.executeCommand(jdk.hotspot.agent/CommandProcessor.java:1933
)
at sun.jvm.hotspot.CommandProcessor.run(jdk.hotspot.agent/CommandProcessor.java:1813)
at sun.jvm.hotspot.CLHSDB.run(jdk.hotspot.agent/CLHSDB.java:99)
hsdb> printall
sun.jvm.hotspot.utilities.AssertionFailure: Corrupted constant pool
at sun.jvm.hotspot.utilities.Assert.that(jdk.hotspot.agent/Assert.java:32)
at sun.jvm.hotspot.oops.ConstantPool.getFieldOrMethodAt(jdk.hotspot.agent/ConstantPool.java:209
)
at sun.jvm.hotspot.oops.ConstantPool.getFieldOrMethodKlassRefAt(jdk.hotspot.agent/ConstantPool.
java:336)
at sun.jvm.hotspot.oops.ConstantPool.getMethodRefAt(jdk.hotspot.agent/ConstantPool.java:343)
at sun.jvm.hotspot.interpreter.BytecodeInvoke.getInvokedMethod(jdk.hotspot.agent/BytecodeInvoke
.java:73)
at sun.jvm.hotspot.ui.classbrowser.HTMLGenerator$1.visit(jdk.hotspot.agent/HTMLGenerator.java:6
96)
at sun.jvm.hotspot.interpreter.BytecodeDisassembler.decode(jdk.hotspot.agent/BytecodeDisassembl
er.java:156)
at sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genHTML(jdk.hotspot.agent/HTMLGenerator.java:6
51)
at sun.jvm.hotspot.CommandProcessor$19$1.visit(jdk.hotspot.agent/CommandProcessor.java:898)
at sun.jvm.hotspot.memory.SystemDictionary$2.visit(jdk.hotspot.agent/SystemDictionary.java:179)
at sun.jvm.hotspot.memory.Dictionary.classesDo(jdk.hotspot.agent/Dictionary.java:68)
at sun.jvm.hotspot.memory.SystemDictionary.classesDo(jdk.hotspot.agent/SystemDictionary.java:19
0)
at sun.jvm.hotspot.memory.SystemDictionary.allClassesDo(jdk.hotspot.agent/SystemDictionary.java
:183)
at sun.jvm.hotspot.CommandProcessor$19.doit(jdk.hotspot.agent/CommandProcessor.java:891)
at sun.jvm.hotspot.CommandProcessor.executeCommand(jdk.hotspot.agent/CommandProcessor.java:1963
)
at sun.jvm.hotspot.CommandProcessor.executeCommand(jdk.hotspot.agent/CommandProcessor.java:1933
)
at sun.jvm.hotspot.CommandProcessor.run(jdk.hotspot.agent/CommandProcessor.java:1813)
at sun.jvm.hotspot.CLHSDB.run(jdk.hotspot.agent/CLHSDB.java:99)
- relates to
-
JDK-8169232 SA: TestCpoolForInvokeDynamic.java fails with sun.jvm.hotspot.debugger.DebuggerException: binary search bug: should have found entry 1
-
- Resolved
-
-
JDK-8015848 SA: ClassWriter have to support JSR292
-
- Closed
-