RFR: 8299329: Assertion failure with fastdebug build when trying to use CDS without classpath [v5]
Calvin Cheung
ccheung at openjdk.org
Thu Jan 5 16:06:51 UTC 2023
On Thu, 5 Jan 2023 14:52:34 GMT, Ashutosh Mehra <duke at openjdk.org> wrote:
> There is a test failure on macos-x64 not related to the changes in this PR. The test `test/hotspot/jtreg/gc/g1/TestVerifyGCType.java` fails at:
>
> ```
> java.lang.RuntimeException: Missing expected verification pattern Verifying After GC for: Pause Young (Prepare Mixed): expected true, was false
> at jdk.test.lib.Asserts.fail(Asserts.java:594)
> at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
> at gc.g1.TestVerifyGCType.verifyType(TestVerifyGCType.java:201)
> at gc.g1.TestVerifyGCType.verifyCollection(TestVerifyGCType.java:196)
> at gc.g1.TestVerifyGCType.testYoungEvacFail(TestVerifyGCType.java:134)
> at gc.g1.TestVerifyGCType.main(TestVerifyGCType.java:57)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
> at java.base/java.lang.reflect.Method.invoke(Method.java:578)
> at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
> at java.base/java.lang.Thread.run(Thread.java:1623)
> ```
>
> Looks like this is same as [JDK-8298215](https://bugs.openjdk.org/browse/JDK-8298215) which is already fixed. I guess the branch is not up-to-date and doesn't have the required fix, which is why this test failed. I think the failure can be ignored.
Yes, if your repo doesn't contain the fix for JDK-8298215, the failure could be ignored.
-------------
PR: https://git.openjdk.org/jdk/pull/11781
More information about the hotspot-runtime-dev
mailing list