Skip to content

[core] Make MultiThreadProcessor more space efficient#1048

Merged
jsotuyod merged 1 commit into
pmd:masterfrom
gibarsin:improve-multithread
Apr 25, 2018
Merged

[core] Make MultiThreadProcessor more space efficient#1048
jsotuyod merged 1 commit into
pmd:masterfrom
gibarsin:improve-multithread

Conversation

@gibarsin

Copy link
Copy Markdown
Contributor

Summary

The instance of MultiThreadProcessor was storing all the Future<PmdRunnable> instances in a list just to save the size for later retrieval from the completitionService instance. The list has been removed in favor of a long counter.

@jsotuyod jsotuyod added this to the 6.3.0 milestone Apr 25, 2018
@jsotuyod jsotuyod self-assigned this Apr 25, 2018
@jsotuyod jsotuyod added an:enhancement An improvement on existing features / rules in:pmd-internals Affects PMD's internals labels Apr 25, 2018
@jsotuyod jsotuyod merged commit 0942ae3 into pmd:master Apr 25, 2018
jsotuyod added a commit that referenced this pull request Apr 25, 2018
@jsotuyod

Copy link
Copy Markdown
Member

@gibarsin merged! Thanks!

@gibarsin gibarsin deleted the improve-multithread branch April 25, 2018 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

an:enhancement An improvement on existing features / rules in:pmd-internals Affects PMD's internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants