Integrated: 8348960: [leyden] compiler/c1/TestConcurrentPatching.java is stuck

Aleksey Shipilev shade at openjdk.org
Tue Feb 4 18:11:49 UTC 2025


On Wed, 29 Jan 2025 18:19:15 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> This is seen in GHA, and reproduces well on my machine as well:
> 
> 
> $ CONF=linux-x86_64-server-fastdebug make images test TEST=compiler/c1/TestConcurrentPatching.java
> <stuck, timeout>
> 
> 
> Test runs with `-Xcomp`. gdb "thread apply all bt" shows the compilers are idle. Supplying `-XX:-UseLockFreeCompileQueues` makes the test pass. I believe there is a bug in `UseLockFreeCompileQueues` in leyden repo. 
> 
> The comment hopefully explains what happens here. This is a corner case that seems to reproduce on the test that runs `-Xcomp` with a very few compilations.
> 
> Additional testing:
>  - [x] GHA
>  - [x] Linux x86_64 server fastdebug, `compiler/c1/TestConcurrentPatching.java`, 100x

This pull request has now been integrated.

Changeset: 59ef37a4
Author:    Aleksey Shipilev <shade at openjdk.org>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/leyden/commit/59ef37a46afa55a96196780e6b3606bd67a1cbcd
Stats:     19 lines in 1 file changed: 17 ins; 0 del; 2 mod

8348960: [leyden] compiler/c1/TestConcurrentPatching.java is stuck

Reviewed-by: adinn, vlivanov

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

PR: https://git.openjdk.org/leyden/pull/30


More information about the leyden-dev mailing list