TestEmergencyDumpAtOOM.java fails on ppc64 platforms

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • None
    • jfr
    • ppc
    • generic

      The jtreg test TestEmergencyDumpAtOOM.java runs into the following error on ppc64 platforms :
      java.io.IOException: Not a valid Flight Recorder file. File length is only 0 bytes.
      at jdk.jfr/jdk.jfr.internal.consumer.RecordingInput.initialize(RecordingInput.java:93)
      at jdk.jfr/jdk.jfr.internal.consumer.RecordingInput.<init>(RecordingInput.java:82)
      at jdk.jfr/jdk.jfr.internal.consumer.RecordingInput.<init>(RecordingInput.java:98)
      at jdk.jfr/jdk.jfr.internal.consumer.EventFileStream.<init>(EventFileStream.java:49)
      at jdk.jfr/jdk.jfr.consumer.EventStream.openFile(EventStream.java:162)
      at jdk.jfr.event.oldobject.TestEmergencyDumpAtOOM.test(TestEmergencyDumpAtOOM.java:91)
      at jdk.jfr.event.oldobject.TestEmergencyDumpAtOOM.main(TestEmergencyDumpAtOOM.java:114)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1474)

      Seems the test fails in the case setting additionally -XX:+CrashOnOutOfMemoryError .
      In the output some info about a timeout can be seen :

      [thread 2730068 also had an error] <----------------------------------------- seems this is the "JFR Periodic Tasks"
      ------ Timeout during error reporting after 120 s. ------
      # [ timer expired, abort... ]

        1. TestEmergencyDumpAtOOM.jtr
          19 kB
          Matthias Baesken
        2. hs_err_pid48294.log
          100 kB
          Matthias Baesken

            Assignee:
            Yasumasa Suenaga
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: