JDK-8273206 added new JFR events for phases that the test does not expect and crashes with:
STDERR:
java.lang.RuntimeException: Compare events expected and received, Not found phases: , Not expected phases: CLDClearClaimedMarks, NoteStartOfMark, ResetMarkingState: expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
at jdk.jfr.event.gc.collection.TestG1ParallelPhases.main(TestG1ParallelPhases.java:136)
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: Compare events expected and received, Not found phases: , Not expected phases: CLDClearClaimedMarks, NoteStartOfMark, ResetMarkingState: expected true, was false
JavaTest Message: shutting down test