Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tycho-4.0.x] make synchronization of classpath calculation more fine-grained #4690

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

eclipse-tycho-bot
Copy link

Backport

This will backport the following commits from main to tycho-4.0.x:

Questions ?

Please refer to the Backport tool documentation

Currently, the calculation of the classpath for a project is effectively a singleton because the BundleProject is used as monitor (synchronization). This leads to a poor performance if executing a tycho build with  many threads, many projects and complex dependencies.

This change replaces the global monitor with a fine-grained monitor the given project the classpath should be calculated for. This speeds up the parallel build.

(cherry picked from commit 9525ff0)
Copy link

github-actions bot commented Feb 4, 2025

Test Results

  603 files  ±0    603 suites  ±0   4h 3m 29s ⏱️ - 11m 49s
  423 tests ±0    416 ✅ ±0   6 💤 ±0  1 ❌ ±0 
1 269 runs  ±0  1 248 ✅  - 1  19 💤 ±0  2 ❌ +1 

For more details on these failures, see this check.

Results for commit 5e560aa. ± Comparison against base commit da2ed1e.

@eclipse-tycho-bot eclipse-tycho-bot merged commit 5a9fb8e into tycho-4.0.x Feb 4, 2025
12 of 15 checks passed
@akurtakov akurtakov deleted the backport/tycho-4.0.x/pr-4681 branch February 4, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants