-
Bug
-
Resolution: Fixed
-
P3
-
hs16
-
b08
-
sparc
-
solaris_9
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2182205 | 7 | Tom Rodriguez | P3 | Closed | Fixed | b71 |
JDK-2181949 | 6u18 | Tom Rodriguez | P3 | Resolved | Fixed | b01 |
The code for parsing FreeChunks when compressed oops is enabled is broken. It's got the wrong level of indirection so it will always throw an exception.
Error: sun.jvm.hotspot.debugger.UnalignedAddressException: Trying to read at address: 0x0000000000000001 with alignment: 8
sun.jvm.hotspot.debugger.UnalignedAddressException: Trying to read at address: 0x0000000000000001 with alignment: 8
at sun.jvm.hotspot.debugger.DebuggerUtilities.checkAlignment(DebuggerUtilities.java:57)
at sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.readCInteger(ProcDebuggerLocal.java:316)
at sun.jvm.hotspot.debugger.proc.ProcAddress.getCIntegerAt(ProcAddress.java:68)
at sun.jvm.hotspot.types.basic.BasicField.getCInteger(BasicField.java:162)
at sun.jvm.hotspot.types.basic.BasicCIntegerField.getValue(BasicCIntegerField.java:54)
at sun.jvm.hotspot.oops.Mark.value(Mark.java:138)
at sun.jvm.hotspot.oops.Mark.isUnlocked(Mark.java:172)
at sun.jvm.hotspot.oops.Mark.isCmsFreeChunk(Mark.java:306)
at sun.jvm.hotspot.memory.FreeChunk.isFree(FreeChunk.java:87)
at sun.jvm.hotspot.memory.FreeChunk.indicatesFreeChunk(FreeChunk.java:81)
at sun.jvm.hotspot.memory.CompactibleFreeListSpace.getLiveRegions(CompactibleFreeListSpace.java:192)
at sun.jvm.hotspot.oops.ObjectHeap$LiveRegionsCollector.doSpace(ObjectHeap.java:554)
at sun.jvm.hotspot.memory.ConcurrentMarkSweepGeneration.spaceIterate(ConcurrentMarkSweepGeneration.java:66)
at sun.jvm.hotspot.oops.ObjectHeap.collectLiveRegions(ObjectHeap.java:579)
at sun.jvm.hotspot.oops.ObjectHeap.iterateRaw(ObjectHeap.java:284)
at sun.jvm.hotspot.CommandProcessor$26.doit(CommandProcessor.java:897)
at sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1265)
at sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1235)
at sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1138)
at sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:91)
at sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:35)
Error: sun.jvm.hotspot.debugger.UnalignedAddressException: Trying to read at address: 0x0000000000000001 with alignment: 8
sun.jvm.hotspot.debugger.UnalignedAddressException: Trying to read at address: 0x0000000000000001 with alignment: 8
at sun.jvm.hotspot.debugger.DebuggerUtilities.checkAlignment(DebuggerUtilities.java:57)
at sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.readCInteger(ProcDebuggerLocal.java:316)
at sun.jvm.hotspot.debugger.proc.ProcAddress.getCIntegerAt(ProcAddress.java:68)
at sun.jvm.hotspot.types.basic.BasicField.getCInteger(BasicField.java:162)
at sun.jvm.hotspot.types.basic.BasicCIntegerField.getValue(BasicCIntegerField.java:54)
at sun.jvm.hotspot.oops.Mark.value(Mark.java:138)
at sun.jvm.hotspot.oops.Mark.isUnlocked(Mark.java:172)
at sun.jvm.hotspot.oops.Mark.isCmsFreeChunk(Mark.java:306)
at sun.jvm.hotspot.memory.FreeChunk.isFree(FreeChunk.java:87)
at sun.jvm.hotspot.memory.FreeChunk.indicatesFreeChunk(FreeChunk.java:81)
at sun.jvm.hotspot.memory.CompactibleFreeListSpace.getLiveRegions(CompactibleFreeListSpace.java:192)
at sun.jvm.hotspot.oops.ObjectHeap$LiveRegionsCollector.doSpace(ObjectHeap.java:554)
at sun.jvm.hotspot.memory.ConcurrentMarkSweepGeneration.spaceIterate(ConcurrentMarkSweepGeneration.java:66)
at sun.jvm.hotspot.oops.ObjectHeap.collectLiveRegions(ObjectHeap.java:579)
at sun.jvm.hotspot.oops.ObjectHeap.iterateRaw(ObjectHeap.java:284)
at sun.jvm.hotspot.CommandProcessor$26.doit(CommandProcessor.java:897)
at sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1265)
at sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1235)
at sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1138)
at sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:91)
at sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:35)
- backported by
-
JDK-2181949 (SA) FreeChunk support for compressed oops is broken
- Resolved
-
JDK-2182205 (SA) FreeChunk support for compressed oops is broken
- Closed