Skip to content

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented Nov 17, 2025

Use assymetric lock times, and losers should not become serialized, so introduce yet another loop after attempt of exclusive lock. Worst scenario is still "overlapping artifacts" like in reproducer, but in all other case this allows losers to run in parallel.

This improves runtime of reproducer too, as "middle tasks" are now able to run in parallel (runtime lowered significantly, but not below 70%).

Note: investigate effect of this change to install execution path, as it also use exclusive locks (but not juggle with shared and exclusive like Artifact and Metadata resolver). User reports were only about ArtifactResolver.

Use assymetric lock times, and losers should not become serialized,
so introduce yet another loop after attempt of exclusive lock.

This improves runtime of reproducer too, as middle tasks are now
able to run in parallel.
@cstamas cstamas added this to the 1.9.25 milestone Nov 17, 2025
@cstamas cstamas self-assigned this Nov 17, 2025
@cstamas cstamas added the enhancement New feature or request label Nov 17, 2025
@cstamas cstamas changed the title [1.9.x] Do not serialize losers [1.9.x] Ability to use assymetric lock times Nov 18, 2025
@cstamas
Copy link
Member Author

cstamas commented Nov 18, 2025

Not doing this. 1.9.25 is fine as is.

@cstamas cstamas closed this Nov 18, 2025
@github-actions github-actions bot removed this from the 1.9.25 milestone Nov 18, 2025
@cstamas cstamas deleted the maven-resolver-1.9.x-asl branch November 18, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant