Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use a non-decorated fork options when creating fork options for worker daemon

WorkerDaemonClients are retained across builds, so any object associated with

it must not contain project state since this will be kept around until the worker

expires.

- Introduce a newDecoratedJavaForkOptions which creates a decorated JavaForkOptionsInternal

- Replace calls to the decorated version of the method with non-decorated versions where appropriate

  1. … 8 more files in changeset.
Use a non-decorated fork options when creating fork options for worker daemon

WorkerDaemonClients are retained across builds, so any object associated with

it must not contain project state since this will be kept around until the worker

expires.

- Introduce a newDecoratedJavaForkOptions which creates a decorated JavaForkOptionsInternal

- Replace calls to the decorated version of the method with non-decorated versions where appropriate

  1. … 11 more files in changeset.
Fix issue with properties object not being isolatable

  1. … 8 more files in changeset.
Ensure that no-isolation workers run with the classloader of the submitting thread

This fixes a problem where, in a composite build, a worker can get a context

classloader set to a classloader from another project, which causes a class

mismatch when we attempt to re-hydrate a legacy runnable class in AdapterWorkAction.

We now ensure that the context classloader for no-isolation workers get set

to the context classloader of the thread that submitted the work.

  1. … 3 more files in changeset.
Updates to upgrading guide and WorkerExecutor javadoc

  1. … 1 more file in changeset.
Remove displayName from work queue api for now

    • -8
    • +1
    ./java/org/gradle/workers/WorkerSpec.java
  1. … 4 more files in changeset.
Remove displayName from work queue api for now

    • -8
    • +1
    ./java/org/gradle/workers/WorkerSpec.java
  1. … 6 more files in changeset.
Remove displayName from work queue api for now

    • -8
    • +1
    ./java/org/gradle/workers/WorkerSpec.java
  1. … 6 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -0
    • +71
    ./java/org/gradle/workers/WorkAction.java
    • -0
    • +50
    ./java/org/gradle/workers/WorkParameters.java
    • -1
    • +1
    ./java/org/gradle/workers/WorkQueue.java
    • -71
    • +0
    ./java/org/gradle/workers/WorkerExecution.java
    • -50
    • +0
    ./java/org/gradle/workers/WorkerParameters.java
  1. … 22 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -0
    • +71
    ./java/org/gradle/workers/WorkAction.java
    • -0
    • +50
    ./java/org/gradle/workers/WorkParameters.java
    • -1
    • +1
    ./java/org/gradle/workers/WorkQueue.java
    • -71
    • +0
    ./java/org/gradle/workers/WorkerExecution.java
    • -50
    • +0
    ./java/org/gradle/workers/WorkerParameters.java
    • -0
    • +75
    ./java/org/gradle/workers/internal/AdapterWorkAction.java
    • -0
    • +31
    ./java/org/gradle/workers/internal/AdapterWorkParameters.java
  1. … 20 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -0
    • +71
    ./java/org/gradle/workers/WorkAction.java
    • -0
    • +50
    ./java/org/gradle/workers/WorkParameters.java
    • -1
    • +1
    ./java/org/gradle/workers/WorkQueue.java
    • -71
    • +0
    ./java/org/gradle/workers/WorkerExecution.java
    • -50
    • +0
    ./java/org/gradle/workers/WorkerParameters.java
  1. … 23 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -0
    • +71
    ./java/org/gradle/workers/WorkAction.java
    • -0
    • +50
    ./java/org/gradle/workers/WorkParameters.java
    • -1
    • +1
    ./java/org/gradle/workers/WorkQueue.java
    • -71
    • +0
    ./java/org/gradle/workers/WorkerExecution.java
    • -50
    • +0
    ./java/org/gradle/workers/WorkerParameters.java
  1. … 22 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -0
    • +71
    ./java/org/gradle/workers/WorkAction.java
    • -0
    • +50
    ./java/org/gradle/workers/WorkParameters.java
    • -1
    • +1
    ./java/org/gradle/workers/WorkQueue.java
    • -71
    • +0
    ./java/org/gradle/workers/WorkerExecution.java
    • -50
    • +0
    ./java/org/gradle/workers/WorkerParameters.java
  1. … 23 more files in changeset.
Ensure context classloader is reset for no isolation workers

  1. … 2 more files in changeset.
Ensure context classloader is reset for no isolation workers

  1. … 2 more files in changeset.
Allow waiting on work submitted to a queue

    • -0
    • +2
    ./java/org/gradle/workers/WorkQueue.java
  1. … 3 more files in changeset.
Allow waiting on work submitted to a queue

    • -0
    • +2
    ./java/org/gradle/workers/WorkQueue.java
  1. … 3 more files in changeset.
Allow waiting on work submitted to a queue

    • -0
    • +2
    ./java/org/gradle/workers/WorkQueue.java
  1. … 3 more files in changeset.
Adjust example for WorkerParameters to follow documentation advice

    • -2
    • +1
    ./java/org/gradle/workers/WorkerParameters.java
Refactor worker api to support WorkQueue API

    • -70
    • +0
    ./java/org/gradle/workers/BaseWorkerSpec.java
    • -0
    • +43
    ./java/org/gradle/workers/ForkingWorkerSpec.java
    • -0
    • +29
    ./java/org/gradle/workers/ProcessWorkerSpec.java
    • -0
    • +50
    ./java/org/gradle/workers/WorkQueue.java
    • -6
    • +41
    ./java/org/gradle/workers/WorkerExecutor.java
    • -2
    • +0
    ./java/org/gradle/workers/WorkerParameters.java
    • -39
    • +9
    ./java/org/gradle/workers/WorkerSpec.java
  1. … 16 more files in changeset.
Refactor worker api to support WorkQueue API

    • -70
    • +0
    ./java/org/gradle/workers/BaseWorkerSpec.java
    • -0
    • +43
    ./java/org/gradle/workers/ForkingWorkerSpec.java
    • -0
    • +29
    ./java/org/gradle/workers/ProcessWorkerSpec.java
    • -0
    • +50
    ./java/org/gradle/workers/WorkQueue.java
    • -6
    • +41
    ./java/org/gradle/workers/WorkerExecutor.java
    • -2
    • +0
    ./java/org/gradle/workers/WorkerParameters.java
    • -39
    • +9
    ./java/org/gradle/workers/WorkerSpec.java
  1. … 16 more files in changeset.
Refactor worker api to support WorkQueue API

    • -70
    • +0
    ./java/org/gradle/workers/BaseWorkerSpec.java
    • -0
    • +35
    ./java/org/gradle/workers/ClassLoaderWorkerSpec.java
    • -0
    • +43
    ./java/org/gradle/workers/ForkingWorkerSpec.java
    • -0
    • +29
    ./java/org/gradle/workers/ProcessWorkerSpec.java
    • -0
    • +50
    ./java/org/gradle/workers/WorkQueue.java
    • -6
    • +41
    ./java/org/gradle/workers/WorkerExecutor.java
    • -2
    • +0
    ./java/org/gradle/workers/WorkerParameters.java
    • -39
    • +9
    ./java/org/gradle/workers/WorkerSpec.java
  1. … 16 more files in changeset.
Apply `Inner class may be 'static'` inspection the whole project

  1. … 41 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

  1. … 661 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

  1. … 908 more files in changeset.
Add some comments to adapter classes to explain their purpose

Add some comments to adapter classes to explain their purpose

Add some comments to adapter classes to explain their purpose

Add some comments to adapter classes to explain their purpose

Use a ConfigurableFileCollection for classpath in worker specs

    • -23
    • +0
    ./java/org/gradle/workers/BaseWorkerSpec.java
    • -0
    • +2
    ./java/org/gradle/workers/WorkerParameters.java
    • -0
    • +8
    ./java/org/gradle/workers/WorkerSpec.java
  1. … 5 more files in changeset.