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

Heap dumping and inspection fails with JDK-8214712

    XMLWordPrintable

Details

    • b14

    Backports

      Description

        JDK-8214712 seeks to enable archiving of objects that might not be loaded by every applications. Some issues has been resolved, but a new one cropped up:

         java.io.IOException: Class Record for 0x0 not found
          at jdk.test.lib.hprof.parser.HprofReader.readInstance(HprofReader.java:765)
          at jdk.test.lib.hprof.parser.HprofReader.readHeapDump(HprofReader.java:512)
          at jdk.test.lib.hprof.parser.HprofReader.read(HprofReader.java:280)
          at jdk.test.lib.hprof.parser.Reader.readFile(Reader.java:91)
          at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:85)
          at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:54)
          at TestHeapDumpOnOutOfMemoryError.test(TestHeapDumpOnOutOfMemoryError.java:79)
          at TestHeapDumpOnOutOfMemoryError.main(TestHeapDumpOnOutOfMemoryError.java:63)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:567)
          at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
          at java.base/java.lang.Thread.run(Thread.java:835)

        Attachments

          Issue Links

            Activity

              People

                redestad Claes Redestad
                redestad Claes Redestad
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: