The following test failed in the JDK18 CI:
jdk/jfr/event/oldobject/TestObjectSize.java
Here's a snippet from the log file:
#section:main
----------messages:(5/350)----------
command: main -XX:TLABSize=2k jdk.jfr.event.oldobject.TestObjectSize
reason: User specified action: run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestObjectSize
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr --add-exports jdk.jfr/jdk.jfr.internal.test=ALL-UNNAMED
elapsed time (seconds): 6.086
----------configuration:(4/115)----------
Boot Layer
add modules: jdk.jfr
add exports: jdk.jfr/jdk.jfr.internal.test ALL-UNNAMED
----------System.out:(0/0)----------
----------System.err:(19/1185)----------
type = [B, objectSize = 360
type = java.util.ArrayList$Itr, objectSize = 32
type = java.util.concurrent.CopyOnWriteArrayList$COWIterator, objectSize = 24
java.lang.RuntimeException: No events: expected false, was true
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertFalse(Asserts.java:461)
at jdk.test.lib.jfr.Events.hasEvents(Events.java:161)
at jdk.jfr.event.oldobject.TestObjectSize.main(TestObjectSize.java:94)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.RuntimeException: No events: expected false, was true
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: No events: expected false, was true
----------rerun:(42/8256)*----------
jdk/jfr/event/oldobject/TestObjectSize.java
Here's a snippet from the log file:
#section:main
----------messages:(5/350)----------
command: main -XX:TLABSize=2k jdk.jfr.event.oldobject.TestObjectSize
reason: User specified action: run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestObjectSize
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr --add-exports jdk.jfr/jdk.jfr.internal.test=ALL-UNNAMED
elapsed time (seconds): 6.086
----------configuration:(4/115)----------
Boot Layer
add modules: jdk.jfr
add exports: jdk.jfr/jdk.jfr.internal.test ALL-UNNAMED
----------System.out:(0/0)----------
----------System.err:(19/1185)----------
type = [B, objectSize = 360
type = java.util.ArrayList$Itr, objectSize = 32
type = java.util.concurrent.CopyOnWriteArrayList$COWIterator, objectSize = 24
java.lang.RuntimeException: No events: expected false, was true
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertFalse(Asserts.java:461)
at jdk.test.lib.jfr.Events.hasEvents(Events.java:161)
at jdk.jfr.event.oldobject.TestObjectSize.main(TestObjectSize.java:94)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.RuntimeException: No events: expected false, was true
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: No events: expected false, was true
----------rerun:(42/8256)*----------
There are no Sub-Tasks for this issue.