Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extracted public `Property` interface out of `PropertyState` as a first step in renaming. Changed other public APIs, except for the factory methods, to use `Property` instead of `PropertyState`.

Also moved factory method to create a `ListProperty<T>` from `ProviderFactory` to `ObjectFactory`.

  1. … 32 more files in changeset.
Replace CompileOptions.bootClasspath with FileCollection property

  1. … 10 more files in changeset.
Removed some unused type parameters.

  1. … 13 more files in changeset.
Removed the `workerImplementationClass` parameter from `WorkerFactory.getWorker()` as the implementation class is a detail of the worker factory and is a constant for a given worker factory.

  1. … 5 more files in changeset.
Move instantiator from spec to invocation

  1. … 16 more files in changeset.
Make compiler daemons sensitive to only BaseForkOptions

  1. … 9 more files in changeset.
Add missing exception message

Replace usages of org.gradle.api.Nullable

With javax.annotation.Nullable.

  1. … 460 more files in changeset.
Fix issue with duplicate compiler daemons and add reuse tests

  1. … 16 more files in changeset.
Fix setter selection in presence of multiple setters (#2386)

  1. … 5 more files in changeset.
Make worker daemons sensitive to all java fork options

    • -0
    • +40
    ./internal/tasks/compile/BaseForkOptionsConverter.java
  1. … 45 more files in changeset.
Compiler daemons use un-serialized execution specs

  1. … 4 more files in changeset.
Align compiler daemons with worker daemon infrastructure

  1. … 9 more files in changeset.
Refactor WorkerFactory so that the idle working dir is injected on the server side

  1. … 26 more files in changeset.
Remove setClasspath(Provider<FileCollection>)

A Provider for a FileCollection will be unnecessary soon, so we

shouldn't add it.

    • -15
    • +3
    ./tasks/compile/AbstractCompile.java
  1. … 2 more files in changeset.
Use providers instead of convention mapping

+review REVIEW-6502

    • -6
    • +35
    ./tasks/compile/AbstractCompile.java
  1. … 2 more files in changeset.
Do not track JVM memory settings as inputs to the task

+review REVIEW-6512

Added type parameter to `Worker` and related types, to describe what kinds of work the worker will accept.

  1. … 12 more files in changeset.
Changed `Worker` interface and worker daemon protocol to better separate the data (what to run) from the behaviour (how to run it). Now, all the data is included in the spec, and all the behaviour is included in the worker server implementation. Previously some of the data and behaviour also lived in the `WorkerAction` instance.

This change allows the worker server implementation, which is long running, better insight into the work to run so that it can, for example, inject long running services into the work.

Also moved the serialization of worker parameters so that it is done in the registration thread rather than the worker thread.

  1. … 17 more files in changeset.
Renamed AbstractDaemonCompiler to AbstractWorkerCompiler

And:

- DaemonJavaCompiler to WorkerJavaCompiler (supports both in-process and daemon workers)

- DaemonGroovyCompiler to WorkerGroovyCompiler (support both in-process and daemon workers)

- DaemonScalaCompiler to WorkerDaemonScalaCompiler (daemon workers only)

- DaemonPlayCompiler to WorkerDaemonPlayCompiler (daemon workers only)

    • -0
    • +100
    ./internal/tasks/compile/daemon/AbstractWorkerCompiler.java
  1. … 30 more files in changeset.
Non-forked Java compilation now uses in-process workers

Simplified AbstractDaemonCompiler and its type hierarchy.

Remove usage of some org.gradle.workers.internal types.

    • -0
    • +77
    ./internal/tasks/compile/ForkOptionsMerger.java
  1. … 9 more files in changeset.
Dogfood WorkerExecutor for java/groovy/scala compilation in worker daemons

Plus in-process groovy compilation

  1. … 29 more files in changeset.
Internal types, methods and variables renames in :workers

  1. … 63 more files in changeset.
Revert "Merge pull request #1486 from gradle/pm-parallel-in-process-workers"

This reverts commit 861bc80fe733f1ab6790860182a20957786e0711, reversing

changes made to cf20021050069a63b7ae629717eb663d95074997.

  1. … 23 more files in changeset.
WorkerDaemonAction implements Describable

  1. … 5 more files in changeset.
WorkerDaemonAction implements Describable

  1. … 5 more files in changeset.
In-process parallel workers

WorkerConfiguration.fork property added, false by default.

Coverage is pretty good already.

A lot of renames will be needed because of overloaded and now

misused terms.

  1. … 15 more files in changeset.
In-process parallel workers

WorkerConfiguration.fork property added, false by default.

Coverage is pretty good already.

A lot of renames will be needed because of overloaded and now

misused terms.

  1. … 15 more files in changeset.
First stab at parallelizing worker daemons

  1. … 106 more files in changeset.
Changed `JvmLanguageCompileSpec.classpath` back to `Iterable<File>` for backwards compatibility for now (these are internal types).

  1. … 17 more files in changeset.