----------messages:(5/619)----------
command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileOnly=jdk.jfr.event.compiler.TestCodeSweeperStats::dummyMethod -XX:+SegmentedCodeCache jdk.jfr.event.compiler.TestCodeSweeperStats
reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileOnly=jdk.jfr.event.compiler.TestCodeSweeperStats::dummyMethod -XX:+SegmentedCodeCache jdk.jfr.event.compiler.TestCodeSweeperStats
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr,java.management
elapsed time (seconds): 14.421
----------configuration:(3/51)----------
Boot Layer
add modules: jdk.jfr java.management
----------System.out:(32/664)----------
compile 0
1 compiler directives added
compile 1
1 compiler directives added
compile 2
1 compiler directives added
compile 3
1 compiler directives added
compile 4
1 compiler directives added
compile 5
1 compiler directives added
compile 6
1 compiler directives added
compile 7
1 compiler directives added
compile 8
1 compiler directives added
compile 9
1 compiler directives added
All methods deoptimized
Error: Value not atLeast1, field='sweepCount', value='0': expected 0 >= 1
Failed event:
CodeSweeperStatistics {
startTime = 13556792683
sweepCount = 0
methodReclaimedCount = 0
totalSweepTime = 10988
peakFractionTime = 2210
peakSweepTime = 10988
}
----------System.err:(18/1284)----------
java.lang.RuntimeException: Value not atLeast1, field='sweepCount', value='0': expected 0 >= 1
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertGreaterThanOrEqual(Asserts.java:288)
at jdk.test.lib.jfr.EventField.lambda$atLeast$4(EventField.java:76)
at jdk.test.lib.jfr.EventField.doAssert(EventField.java:116)
at jdk.test.lib.jfr.EventField.atLeast(EventField.java:76)
at jdk.jfr.event.compiler.TestCodeSweeperStats.main(TestCodeSweeperStats.java:80)
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:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)