The following test failed in the JDK14 CI:
jdk/jfr/event/gc/detailed/TestPromotionFailedEventWithParallelScavenge.java
Here's a snippet of the log file:
[12.013s][debug][gc,task,time ] GC(46) [ thread-roots-marking-task 11895815300 11916621293 ]
[12.013s][debug][gc,task,time ] GC(46) [ steal-marking-task 11916623958 11917792279 ]
[12.013s][debug][gc,task,time ] GC(46) [ update-dense_prefix-task 11944401324 11963250833 ]
[12.013s][debug][gc,task,time ] GC(46) [ steal-region-task 11963253834 11999963234 ]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fff6d177712, pid=66131, tid=3843
#
# JRE version: Java(TM) SE Runtime Environment (14.0+10) (fastdebug build 14-ea+10-299)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+10-299, mixed mode, sharing, tiered, compressed oops, parallel gc, bsd-amd64)
# Problematic frame:
# C [libsystem_platform.dylib+0x1712] _platform_strlen+0x12
#
# Core dump will be written. Default location: /cores/core.66131
#
# An error report file with more information is saved as:
# /Volumes/Mesos/mesos/slaves/a1bab71e-a362-4507-81ed-9c72a04b09cc-S10/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6c8f795f-69bf-470c-9288-eae13f24ab9c/runs/3b493730-b309-477c-86d9-69f91b2c2bdf/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/scratch/0/hs_err_pid66131.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 3843
Dumping core ...
];
stderr: [
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "JFR Periodic Tasks"
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
]
exitValue = 134
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:455)
at jdk.jfr.event.gc.detailed.ExecuteOOMApp.execute(ExecuteOOMApp.java:58)
at jdk.jfr.event.gc.detailed.PromotionFailedEvent.test(PromotionFailedEvent.java:45)
at jdk.jfr.event.gc.detailed.TestPromotionFailedEventWithParallelScavenge.main(TestPromotionFailedEventWithParallelScavenge.java:39)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:830)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]