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

Manually count number of offered tasks instead of relying on pool active count #8264

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

spericas
Copy link
Member

Description

Manually count number of offered tasks instead of relying solely on t…he inaccurate value returned by pool.getActiveCount(). This ensures proper thread pool growth when several tasks are submitted at once (and before they start running). See #8223.

Documentation

None

@spericas spericas added bug Something isn't working 3.x Issues for 3.x version branch common labels Jan 18, 2024
@spericas spericas added this to the 3.x milestone Jan 18, 2024
@spericas spericas self-assigned this Jan 18, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 18, 2024
@spericas spericas marked this pull request as draft January 18, 2024 21:38
@spericas spericas changed the title Manually count number of offered tasks instead of relying on pool.getActiveCount() Manually count number of offered tasks instead of relying on pool active count Jan 18, 2024
…he inaccurate value returned by pool.getActiveCount(). This ensures proper thread pool growth when several tasks are submitted at once (and before they start running).
@spericas spericas marked this pull request as ready for review January 23, 2024 15:44
@spericas spericas merged commit 165a8a1 into helidon-io:helidon-3.x Jan 23, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues for 3.x version branch bug Something isn't working common OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants