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

SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 11
    • 9, 10
    • hotspot
    • b14
    • generic
    • generic

    Backports

      Description

        /home/jini/jdk10/hs/build/linux-x86_64-normal-server-slowdebug/images/jdk/bin/java -Xshare:on -cp ~/tests/ HelloAndLoop
        Hello -- and Loop
        ....after attaching using jhsdb

        hsdb> where -a
        Thread 3011 Address: 0x00007fdb502da000

        Java Stack Trace for Service Thread
        Thread state = BLOCKED

        Thread 3010 Address: 0x00007fdb5023c800
        sun.jvm.hotspot.utilities.AssertionFailure: illegal code 236
                at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
                at jdk.hotspot.agent/sun.jvm.hotspot.interpreter.Bytecodes.check(Bytecodes.java:338)
                at jdk.hotspot.agent/sun.jvm.hotspot.interpreter.Bytecodes.javaCode(Bytecodes.java:380)
                at jdk.hotspot.agent/sun.jvm.hotspot.interpreter.BytecodeStream.next(BytecodeStream.java:78)
                at jdk.hotspot.agent/sun.jvm.hotspot.oops.GenerateOopMap$RetTable.computeRetTable(GenerateOopMap.java:228)
                at jdk.hotspot.agent/sun.jvm.hotspot.oops.GenerateOopMap.computeMap(GenerateOopMap.java:2191)
                at jdk.hotspot.agent/sun.jvm.hotspot.interpreter.OopMapForCacheEntry.computeMap(OopMapForCacheEntry.java:80)
                at jdk.hotspot.agent/sun.jvm.hotspot.interpreter.OopMapCacheEntry.fill(OopMapCacheEntry.java:53)
                at jdk.hotspot.agent/sun.jvm.hotspot.oops.Method.getMaskFor(Method.java:261)
                at jdk.hotspot.agent/sun.jvm.hotspot.runtime.InterpretedVFrame.getLocals(InterpretedVFrame.java:53)
                at jdk.hotspot.agent/sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genHTMLForJavaStackTrace(HTMLGenerator.java:1929)
                at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$44.doit(CommandProcessor.java:1577)
                at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1963)
                at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1933)
                at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1813)
                at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:99)
                at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
                at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:191)
                at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:439)
        Error: sun.jvm.hotspot.utilities.AssertionFailure: Failure occurred at bci 16 in method java.lang.ref.ReferenceQueue.remove(long)

        Attachments

          Issue Links

            Activity

              People

                jgeorge Jini George (Inactive)
                jgeorge Jini George (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: