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

(SA) FreeChunk support for compressed oops is broken

    Details

    • Subcomponent:
      svc
    • Resolved In Build:
      b08
    • CPU:
      sparc
    • OS:
      solaris_9
    • Verification:
      Not verified

      Backports

        Description

        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)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  never Tom Rodriguez
                  Reporter:
                  never Tom Rodriguez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: