The following test failed due to "RuntimeException: Compare
events expected and received, Not found phases: , Not
expected phases: OptScanRS, OptObjCopy: expected true,
was false" on Solaris-X64 in the slowdebug config using
jdk-12+30 bits:
jdk/jfr/event/gc/collection/TestG1ParallelPhases.java
The test only failed in 1 of 3 'slowdebug' bits runs so I'm
tagging this bug as intermittent. It did not fail at all in the
'fastdebug' or 'release' bits runs.
Here is a snippet from the log file:
#section:main
----------messages:(5/843)----------
command: main -XX:+UnlockExperimentalVMOptions -XX:MaxTenuringThreshold=1 -Xms20M -Xmx20M -XX:G1MixedGCLiveThresholdPercent=100 -XX:G1HeapWastePercent=0 -XX:G1HeapRegionSize=1m -XX:+UseG1GC -XX:+UseStringDeduplication -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI jdk.jfr.event.gc.collection.TestG1ParallelPhases
reason: User specified action: run main/othervm -XX:+UnlockExperimentalVMOptions -XX:MaxTenuringThreshold=1 -Xms20M -Xmx20M -XX:G1MixedGCLiveThresholdPercent=100 -XX:G1HeapWastePercent=0 -XX:G1HeapRegionSize=1m -XX:+UseG1GC -XX:+UseStringDeduplication -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI jdk.jfr.event.gc.collection.TestG1ParallelPhases
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr,java.management
elapsed time (seconds): 21.709
----------configuration:(3/51)----------
Boot Layer
add modules: jdk.jfr java.management
----------System.out:(0/0)----------
----------System.err:(15/1265)----------
java.lang.RuntimeException: Compare events expected and received, Not found phases: , Not expected phases: OptScanRS, OptObjCopy: 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:119)
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:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Compare events expected and received, Not found phases: , Not expected phases: OptScanRS, OptObjCopy: expected true, was false
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Compare events expected and received, Not found phases: , Not expected phases: OptScanRS, OptObjCopy: expected true, was false
----------rerun:(44/4565)*----------