Only bootstrap the zinc worker pool if there is work to do

Review Request #3559 - Created March 10, 2016 and submitted

Information
Nick Howard (Twitter)
pants
3034
Reviewers
pants-reviews
benjyw, gmalmquist, jsirois, stuhood

Currently, jvm compile will always create a worker pool. This updates JvmCompile so that it only bootstraps the pool if there are invalid targets. It also renames compile_chunk to do_compile as compile_chunk implies chunking behavior that is no longer used.

Wrote an integration test that checks for the presence and abscence of the workunit label in output and made it pass. CI away on the PR.

Garrett Malmquist
Benjy Weinberger
Nick Howard (Twitter)
Stu Hood
Nick Howard (Twitter)
Review request changed

Status: Closed (submitted)

Change Summary:

https://github.com/pantsbuild/pants/commit/8e316f5ff443883672cd10b81754d791024e7bc6

Loading...