JDK-8311213 : Two jfr tests (TestPromotionFailedEventWith{ParallelScavenge/DefNew}.java) fail after JDK-8047998
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 22
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2023-07-01
  • Updated: 2023-07-01
  • Resolved: 2023-07-01
Related Reports
Duplicate :  
Relates :  
Description
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