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

[BACKOUT] 8313632: ciEnv::dump_replay_data use fclose

    XMLWordPrintable

Details

    • 22
    • b10
    • Verified

    Description

      After JDK-8313632, we see massive failures with the compiler/ciReplay/* tests. For example:

      compiler/ciReplay/TestNoClassFile.java

      java.lang.Error: Can't create replay: java.lang.RuntimeException: Crash JVM exits gracefully: expected 134 to equal 0
      at compiler.ciReplay.DumpReplayBase.generateReplay(DumpReplayBase.java:90)
      at compiler.ciReplay.DumpReplayBase.runTest(DumpReplayBase.java:53)
      at compiler.ciReplay.TestNoClassFile.main(TestNoClassFile.java:42)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1570)
      Caused by: java.lang.RuntimeException: Crash JVM exits gracefully: expected 134 to equal 0
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at compiler.ciReplay.DumpReplayBase.generateReplay(DumpReplayBase.java:83)
      ... 6 more

      JavaTest Message: Test threw exception: java.lang.Error: Can't create replay: java.lang.RuntimeException: Crash JVM exits gracefully: expected 134 to equal 0
      JavaTest Message: shutting down test

      Attachments

        Issue Links

          Activity

            People

              thartmann Tobias Hartmann
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: