Skip to content

Conversation

@oowekyala
Copy link
Member

@oowekyala oowekyala commented May 14, 2025

Describe the PR

Allow specifying a number of threads relative to the number of cores of the machine. Default is 1C, ie one thread per core

I'm still not sure how (or whether) to add a test for this...

This is enabled by #5593

Related issues

  • Fix #

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

Allow specifying a number of threads relative to
the number of cores of the machine. Default is 1C,
ie one thread per core
@github-actions
Copy link

github-actions bot commented May 14, 2025

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.

Regression Tester Report

(comment created at 2025-05-30 16:01:23+00:00 for 1924d23)

@oowekyala oowekyala marked this pull request as ready for review May 21, 2025 10:29
@oowekyala oowekyala requested a review from jsotuyod May 21, 2025 10:29
@adangel adangel added the in:cli Affects the PMD Command Line Interface label May 29, 2025
@adangel adangel added this to the 7.14.0 milestone May 29, 2025
Copy link
Member Author

@oowekyala oowekyala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for adding tests!

@adangel adangel merged commit 4f9df6f into pmd:main May 30, 2025
12 checks passed
@oowekyala oowekyala deleted the give-threads-default-value branch May 30, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:cli Affects the PMD Command Line Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants