Integrated: 8350263: JvmciNotifyBootstrapFinishedEventTest intermittently times out

Doug Simon dnsimon at openjdk.org
Tue Feb 18 20:21:01 UTC 2025


On Tue, 18 Feb 2025 14:11:04 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> [JDK-8346781](https://bugs.openjdk.org/browse/JDK-8346781) changed `JVMCIServiceLocator` such that set of providers is computed eagerly in `JVMCIServiceLocator.<clinit>`. There are some JVMCI test classes that directly subclassed `JVMCIServiceLocator` which meant deadlock could occur between the main thread running the test and a JVMCI compiler thread. This PR fixes this by ensuring that `JVMCIServiceLocator` providers are separate classes from the main test class.

This pull request has now been integrated.

Changeset: f2b4e12a
Author:    Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f2b4e12afe67086a2ae08081fd545e5ce4d731fd
Stats:     60 lines in 4 files changed: 21 ins; 12 del; 27 mod

8350263: JvmciNotifyBootstrapFinishedEventTest intermittently times out

Reviewed-by: yzheng, never

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

PR: https://git.openjdk.org/jdk/pull/23679


More information about the hotspot-compiler-dev mailing list