section:main
----------messages:(7/342)----------
command: main jdk.jfr.jmx.streaming.TestStop
reason: User specified action: run main/othervm jdk.jfr.jmx.streaming.TestStop
started: Fri May 31 05:41:55 GMT 2024
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr,jdk.management.jfr
finished: Fri May 31 05:41:56 GMT 2024
elapsed time (seconds): 1.399
----------configuration:(3/54)----------
Boot Layer
add modules: jdk.jfr jdk.management.jfr
----------System.out:(32/1104)----------
RecordingStream outer:
[jdk.jfr.jmx.streaming.TestStop$MarkEvent {
startTime = 05:41:56.662 (2024-05-31)
id = "a"
eventThread = "MainThread" (javaThreadId = 20)
stackTrace = [
jdk.jfr.jmx.streaming.TestStop.testNestedStop() line: 126
jdk.jfr.jmx.streaming.TestStop.main(String[]) line: 63
jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Object, Object[]) line: 103
java.lang.reflect.Method.invoke(Object, Object[]) line: 580
com.sun.javatest.regtest.agent.MainWrapper$MainTask.run() line: 138
]
}
]
RecordingStream inner:
[jdk.jfr.jmx.streaming.TestStop$MarkEvent {
startTime = 05:41:56.656 (2024-05-31)
id = "b"
eventThread = "MainThread" (javaThreadId = 20)
stackTrace = [
jdk.jfr.jmx.streaming.TestStop.testNestedStop() line: 135
jdk.jfr.jmx.streaming.TestStop.main(String[]) line: 63
jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Object, Object[]) line: 103
java.lang.reflect.Method.invoke(Object, Object[]) line: 580
com.sun.javatest.regtest.agent.MainWrapper$MainTask.run() line: 138
]
}
]
Outer count: 3
Inner count: 1
----------System.err:(12/737)----------
java.lang.AssertionError: Expected outer dump to have 3 events
at jdk.jfr.jmx.streaming.TestStop.testNestedStop(TestStop.java:159)
at jdk.jfr.jmx.streaming.TestStop.main(TestStop.java:63)
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:1575)
Observed in the CI run with the fix for JDK-8331876