process

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Synchronize log messages with worker response messages

To avoid logging messsages containing the build operation id from being

handled asynchronously on a separate thread (and potentially arriving

after the build operation has been finished), we now process log event

messages that occur inside the boundary of the request/response through

the same queue, ensuring that they will arrive and be processed in the

order that they are sent.

  1. … 8 more files in changeset.
Synchronize log messages with worker response messages

To avoid logging messsages containing the build operation id from being

handled asynchronously on a separate thread (and potentially arriving

after the build operation has been finished), we now process log event

messages that occur inside the boundary of the request/response through

the same queue, ensuring that they will arrive and be processed in the

order that they are sent.

    • -0
    • +92
    ./internal/worker/child/WorkerLogEventListenerTest.groovy
  1. … 8 more files in changeset.
Move EncodedStream to messaging

This class needs to stay Java 6 compatible.

  1. … 13 more files in changeset.
Move EncodedStream to messaging

This class needs to stay Java 6 compatible.

  1. … 13 more files in changeset.
Move EncodedStream to messaging

This class needs to stay Java 6 compatible.

  1. … 13 more files in changeset.
Simplify worker daemon classloader hierarchy

    • -1
    • +3
    ./internal/worker/child/WorkerProcessClassPathProviderTest.groovy
  1. … 18 more files in changeset.
Simplify worker daemon classloader hierarchy

    • -1
    • +3
    ./internal/worker/child/WorkerProcessClassPathProviderTest.groovy
  1. … 18 more files in changeset.
Simplify worker daemon classloader hierarchy

    • -1
    • +3
    ./internal/worker/child/WorkerProcessClassPathProviderTest.groovy
  1. … 18 more files in changeset.
Simplify worker daemon classloader hierarchy

    • -1
    • +3
    ./internal/worker/child/WorkerProcessClassPathProviderTest.groovy
  1. … 18 more files in changeset.
Simplify worker daemon classloader hierarchy

    • -1
    • +3
    ./internal/worker/child/WorkerProcessClassPathProviderTest.groovy
  1. … 18 more files in changeset.
Simplify worker daemon classloader hierarchy

    • -1
    • +3
    ./internal/worker/child/WorkerProcessClassPathProviderTest.groovy
  1. … 16 more files in changeset.
Simplify worker daemon classloader hierarchy

    • -1
    • +3
    ./internal/worker/child/WorkerProcessClassPathProviderTest.groovy
  1. … 19 more files in changeset.
Add test to pin down failure behavior during worker startup

Add test to pin down failure behavior during worker startup

Revert "Revert "Merge pull request #7296 from gradle/oehme/java9/suppress-groovy-warnings""

This reverts commit 44f9cc7346b1dfbc4fdeff8421da368660749fd4.

  1. … 9 more files in changeset.
Revert "Merge pull request #7296 from gradle/oehme/java9/suppress-groovy-warnings"

This reverts commit 166f63359900f1ef7115113cdf4a0699e425f645, reversing

changes made to cc54813e66af95f14764a40abbf4a72f200c60f2.

  1. … 9 more files in changeset.
Prevent Groovy illegal access warnings

Start all processes that are likely to use Groovy with the

necessary --add-opens arguments to avoid noisy warnings that

our users can't do anything about.

  1. … 9 more files in changeset.
Remove deprecated Class.newInstance() (#6496)

`Class.newInstance()` was deprecated in Java 9.

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

    • -113
    • +0
    ./internal/daemon/AbstractWorkerDaemonExecutorTest.groovy
    • -52
    • +0
    ./internal/daemon/DaemonForkOptionsMergeTest.groovy
    • -176
    • +0
    ./internal/daemon/DaemonForkOptionsTest.groovy
    • -36
    • +0
    ./internal/daemon/DefaultWorkerDaemonServiceTest.groovy
    • -111
    • +0
    ./internal/daemon/WorkerDaemonClientTest.groovy
    • -152
    • +0
    ./internal/daemon/WorkerDaemonClientsManagerTest.groovy
    • -196
    • +0
    ./internal/daemon/WorkerDaemonExpirationTest.groovy
    • -119
    • +0
    ./internal/daemon/WorkerDaemonManagerTest.groovy
    • -72
    • +0
    ./internal/daemon/WorkerDaemonRunnableExecutorTest.groovy
  1. … 99 more files in changeset.
Change worker daemon expiration test to work with IBM jdks

    • -1
    • +4
    ./internal/daemon/WorkerDaemonExpirationTest.groovy
Clean up JVM memory worker protocol

    • -2
    • +6
    ./internal/daemon/WorkerDaemonExpirationTest.groovy
  1. … 11 more files in changeset.
Make Os/JvmMemoryInfo only provide snapshots

    • -2
    • +2
    ./internal/daemon/WorkerDaemonManagerTest.groovy
  1. … 8 more files in changeset.
Use an approximation for memory usage when it hasn't been reported

    • -6
    • +35
    ./internal/daemon/WorkerDaemonExpirationTest.groovy
    • -2
    • +4
    ./internal/daemon/WorkerDaemonManagerTest.groovy
  1. … 5 more files in changeset.
Fix WorkerDaemonExpirationTest for empty heap fork options

That test needs to assert that worker daemons with empty heap fork

options get expired. Don’t implicitly rely on JVM characteristics for

the test so it passes reliably on different JVMs.

    • -3
    • +3
    ./internal/daemon/WorkerDaemonExpirationTest.groovy
Less frequently used idle worker daemons memory based expiration

Less frequently used idle worker daemons are expired when available system memory gets below a threshold.

Expiration strategy is triggered both by memory sampling and when the build daemon is about to fork a new process, or a new worker daemon. It will attempt to free enough system memory to fit the new process below the threshold according to it's fork options.

This implementation does an approximation on the amount of memory held by worker daemons, using their max heap setting instead of their committed memory. This will be fixed in subsequent changes.

    • -0
    • +109
    ./internal/daemon/WorkerDaemonClientTest.groovy
    • -0
    • +54
    ./internal/daemon/WorkerDaemonClientsManagerTest.groovy
    • -0
    • +157
    ./internal/daemon/WorkerDaemonExpirationTest.groovy
    • -1
    • +20
    ./internal/daemon/WorkerDaemonManagerTest.groovy
  1. … 21 more files in changeset.
First stab at worker processes providing jvm memory information

    • -2
    • +4
    ./internal/daemon/WorkerDaemonClientTest.groovy
    • -3
    • +6
    ./internal/daemon/WorkerDaemonExpirationTest.groovy
    • -3
    • +2
    ./internal/daemon/WorkerDaemonManagerTest.groovy
  1. … 30 more files in changeset.
Move worker processes tests back in :core

Follow up on #943

Worker daemons are in :workers, but worker processes could not be

moved there because of dependencies to :core.

    • -205
    • +0
    ./internal/worker/DefaultWorkerProcessTest.groovy
  1. … 41 more files in changeset.
Move workers into their own subproject

    • -0
    • +113
    ./internal/daemon/AbstractWorkerDaemonExecutorTest.groovy
    • -0
    • +52
    ./internal/daemon/DaemonForkOptionsMergeTest.groovy
    • -0
    • +176
    ./internal/daemon/DaemonForkOptionsTest.groovy
    • -0
    • +36
    ./internal/daemon/DefaultWorkerDaemonServiceTest.groovy
    • -0
    • +98
    ./internal/daemon/WorkerDaemonClientsManagerTest.groovy
    • -0
    • +99
    ./internal/daemon/WorkerDaemonManagerTest.groovy
    • -0
    • +72
    ./internal/daemon/WorkerDaemonRunnableExecutorTest.groovy
    • -0
    • +205
    ./internal/worker/DefaultWorkerProcessTest.groovy
    • -0
    • +105
    ./internal/worker/child/BootstrapSecurityManagerTest.groovy
    • -0
    • +72
    ./internal/worker/child/SerializableMockHelper.groovy
    • -0
    • +73
    ./internal/worker/child/WorkerProcessClassPathProviderTest.groovy
  1. … 112 more files in changeset.