SA throws java.lang.ClassCastException while dumping the contents of a partially loaded constantPoolOopDesc instance in the PermGen. hsdb> inspect 0x6046e57b0 Error: java.lang.ClassCastException: sun.jvm.hotspot.oops.ConstantPool cannot be cast to sun.jvm.hotspot.oops.Klass java.lang.ClassCastException: sun.jvm.hotspot.oops.ConstantPool cannot be cast to sun.jvm.hotspot.oops.Klass at sun.jvm.hotspot.oops.ConstantPool.getPoolHolder(ConstantPool.java:122) at sun.jvm.hotspot.oops.ConstantPool.printValueOn(ConstantPool.java:651) at sun.jvm.hotspot.oops.Oop.printOopValueOn(Oop.java:186) at sun.jvm.hotspot.ui.tree.OopTreeNodeAdapter.getValue(OopTreeNodeAdapter.java:107) at sun.jvm.hotspot.CommandProcessor$18.doit(CommandProcessor.java:793) at sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1700) at sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1670) at sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1550) at sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:91) at sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:35) hsdb> mem 0x6046e57b0 10 0x00000006046e57b0: 0x0000000000000001 0x00000006046e57b8: 0x00000000c0800308 0x00000006046e57c0: 0x00000006046e5908 0x00000006046e57c8: 0x0000000000000000 0x00000006046e57d0: 0x00000006046e57b0 << pool_holder pointing to self 0x00000006046e57d8: 0x0000000000000000 0x00000006046e57e0: 0x0000002300000000 0x00000006046e57e8: 0x0000000000000001 0x00000006046e57f0: 0x0000000000000000 0x00000006046e57f8: 0x00002aaab40952f1
|