RFR: 8264760: JVM crashes when two threads encounter the same resolution error [v6]

Wang Huang whuang at openjdk.java.net
Fri Apr 30 06:15:52 UTC 2021


On Fri, 30 Apr 2021 05:29:53 GMT, David Holmes <dholmes at openjdk.org> wrote:

> I don't see exactly why the lack of join() would lead to the test failure, but doing the join() is cleaner and consistent with what other tests do.
> 
> Thanks,
> David

The reason is that the main thread needs to exit and wait for the other two threads to exit. However, the `jtreg` just waits for a fix time. If two threads are not scheduled in this time, an error will be triggered.

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

PR: https://git.openjdk.java.net/jdk/pull/3392


More information about the hotspot-runtime-dev mailing list