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

SA: jhsdb clhsdb 'printall' often throws "Corrupted constant pool" assertion failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b146
    • CPU:
      generic
    • OS:
      generic

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: