ac644271a74b6311d8e25f1e349980f0d9ca1a12,src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile_isolated_strategy.py,JvmCompileIsolatedStrategy,prepare_compile,#JvmCompileIsolatedStrategy#Any#Any#Any#,65
Before Change
self.validate_analysis(cc.analysis_file)
// This ensures the workunit for the worker pool is set
with self.context.new_workunit("isolation") as workunit:
self._worker_pool = WorkerPool(workunit,
self.context.run_tracker,
self._worker_count)
After Change
// Update the classpath by adding relevant target"s classes directories to its classpath.
compile_classpaths = self.context.products.get_data("compile_classpath")
with self.context.new_workunit("validate-{}-analysis".format(self._language)):
for target in relevant_targets:
cc = self.compile_context(target)
safe_mkdir(cc.classes_dir)
compile_classpaths.add_for_target(target, [(conf, cc.classes_dir) for conf in self._confs])
self.validate_analysis(cc.analysis_file)
// This ensures the workunit for the worker pool is set
with self.context.new_workunit("isolation-{}-pool-bootstrap".format(self._language)) \
as workunit:
// This uses workunit.parent as the WorkerPool"s parent so that child workunits
// of different pools will show up in order in the html output. This way the current running
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: pantsbuild/pants
Commit Name: ac644271a74b6311d8e25f1e349980f0d9ca1a12
Time: 2015-04-29
Author: nhoward@twopensource.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile_isolated_strategy.py
Class Name: JvmCompileIsolatedStrategy
Method Name: prepare_compile
Project Name: pantsbuild/pants
Commit Name: 02601118f6edf725e64e2471def69e0114ae3845
Time: 2015-02-02
Author: mateorod9@gmail.com
File Name: src/python/pants/backend/android/tasks/aapt_builder.py
Class Name: AaptBuilder
Method Name: execute
Project Name: pantsbuild/pants
Commit Name: 076e01d237ab3b58cdb395fb04a7f176ab02209d
Time: 2013-10-31
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/__init__.py
Class Name: Task
Method Name: update_artifact_cache