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

TestHeapDumpOnOutOfMemoryError fails with EOFException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16, 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b23

      Description

      ----------System.err:(20/1261)----------
      java.io.EOFException
      at java.base/java.io.DataInputStream.readFully(DataInputStream.java:202)
      at java.base/java.io.DataInputStream.readLong(DataInputStream.java:421)
      at jdk.test.lib.hprof.parser.HprofReader.readID(HprofReader.java:548)
      at jdk.test.lib.hprof.parser.HprofReader.read(HprofReader.java:226)
      at jdk.test.lib.hprof.parser.Reader.readFile(Reader.java:92)
      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:92)
      at TestHeapDumpOnOutOfMemoryError.main(TestHeapDumpOnOutOfMemoryError.java:64)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.io.EOFException
      JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rschmelter Ralf Schmelter
              Reporter:
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: