This repository has been archived by the owner on Dec 10, 2020. It is now read-only.
forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify
ConcurrentRunnerScheduler
& cleanup.
The intermediary `CompletionService` and `concurrentTasks` queue were un-needed. This excises both in favor of leveraging the contracts of `ExecutorService` and ensures cleanup of the `ExecutorService` as well, which prevents hundreds of threads being spawned and not joined in unit tests. Testing Done: Tested locally with a local `~/.m2/repository` publish of the junit tool jar and repeated `jstack` invocations confirmed a steady state of 0 "concurrent-junit-runner-*" threads vs the 100s observed previously. CI went green here: https://travis-ci.org/pantsbuild/pants/builds/145661315 Bugs closed: 3684, 3686 Reviewed at https://rbcommons.com/s/twitter/r/4091/
- Loading branch information
Showing
1 changed file
with
14 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters