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

Two jfr tests (TestPromotionFailedEventWith{ParallelScavenge/DefNew}.java) fail after JDK-8047998

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 22
    • hotspot
    • jfr


      STDERR:
       stdout: [[0.012s][info][gc,init] CardTable entry size: 512
      [0.012s][debug][gc,heap] Minimum heap 33554432 Initial heap 33554432 Maximum heap 33554432
      Error occurred during initialization of VM
      The MaxNewSize must be the same as NewSize because the MaxHeapSize and InitialHeapSize are the same.
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
              at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:490)
              at jdk.jfr.event.gc.detailed.ExecuteOOMApp.execute(ExecuteOOMApp.java:56)
              at jdk.jfr.event.gc.detailed.PromotionFailedEvent.test(PromotionFailedEvent.java:43)
              at jdk.jfr.event.gc.detailed.TestPromotionFailedEventWithParallelScavenge.main(TestPromotionFailedEventWithParallelScavenge.java:37)
              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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
              at java.base/java.lang.Thread.run(Thread.java:1570)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test


      STDERR:
       stdout: [[0.006s][info][gc,init] CardTable entry size: 512
      [0.006s][debug][gc,heap] Minimum heap 33554432 Initial heap 33554432 Maximum heap 33554432
      Error occurred during initialization of VM
      The MaxNewSize must be the same as NewSize because the MaxHeapSize and InitialHeapSize are the same.
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
              at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:490)
              at jdk.jfr.event.gc.detailed.ExecuteOOMApp.execute(ExecuteOOMApp.java:56)
              at jdk.jfr.event.gc.detailed.PromotionFailedEvent.test(PromotionFailedEvent.java:43)
              at jdk.jfr.event.gc.detailed.TestPromotionFailedEventWithDefNew.main(TestPromotionFailedEventWithDefNew.java:37)
              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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
              at java.base/java.lang.Thread.run(Thread.java:1570)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: