Skip to content

Remove the prestartminSpareThreads field from StandardThreadExecutor#510

Merged
markt-asf merged 2 commits into
apache:mainfrom
aooohan:remove_meaningless_code
May 10, 2022
Merged

Remove the prestartminSpareThreads field from StandardThreadExecutor#510
markt-asf merged 2 commits into
apache:mainfrom
aooohan:remove_meaningless_code

Conversation

@aooohan

@aooohan aooohan commented May 8, 2022

Copy link
Copy Markdown
Member

I found that in the constructor of the ThreadPoolExecutor, all core threads are started by default, so in the StandardThreadExecutor, prestartminSpareThreads becomes meaningless.But I don't know if it's right to just remove.

@markt-asf markt-asf merged commit 366bb95 into apache:main May 10, 2022
@aooohan aooohan deleted the remove_meaningless_code branch May 19, 2022 13:23
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