RFR: 8319932: [JVMCI] class unloading related tests can fail on libgraal

Doug Simon dnsimon at openjdk.org
Thu Feb 29 09:59:53 UTC 2024


On Thu, 29 Feb 2024 09:16:44 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> Such re-try seems not to really solve the problem. It only reduces the probability to trigger the failure. If the compilation is very slow because of unexpected reason, the test `InitExceptionUnloadTest.java` may also fail. Is my understanding right?

Given all the things that can determine when exactly class unloading happens, it's indeed still possible for the test to fail. However, this is true for many timing-dependent tests and I don't see any option apart from a retry loop (be it in the test itself or in a supporting test library).

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18044#issuecomment-1970788164


More information about the hotspot-runtime-dev mailing list