Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move min free memory threshold declaration into DefaultMemoryManager

So we use the same in both the build daemon and worker processes

and don’t repeat it in two places.

  1. … 2 more files in changeset.
Single ExecutorFactory.createScheduled() method

We only need fixed-size single-threaded scheduled executors.

Use such executors for build daemon gc health checks, expiration checks

and memory sampling.

gradle/performance#298

  1. … 7 more files in changeset.
First stab at worker processes providing jvm memory information

    • -0
    • +47
    ./memory/DefaultJvmMemoryInfo.java
    • -0
    • +61
    ./memory/DefaultOsMemoryInfo.java
    • -0
    • +34
    ./memory/DisabledOsMemoryInfo.java
    • -0
    • +25
    ./memory/JvmMemoryInfo.java
    • -0
    • +25
    ./memory/OsMemoryInfo.java
  1. … 26 more files in changeset.
Do not log failure to collect memory status at warn level

Refine memory sampling event publishing

Merge MemoryStatusBroadcaster into MemoryManager

Broadcast start/stop is now isolated in MemoryManager

DaemonHealthStats wait for one JVM memory event

Strengthen tests around health logging

Services depend on ExecutorFactory to use ScheduledExecutorServices

And stop them properly

    • -79
    • +0
    ./memory/MemoryStatusBroadcaster.java
  1. … 13 more files in changeset.
Move memory health types from :core to :processServices

    • -0
    • +21
    ./memory/AvailableMemory.java
    • -0
    • +48
    ./memory/DefaultMemoryManager.java
    • -0
    • +32
    ./memory/JvmMemoryStatus.java
    • -0
    • +21
    ./memory/JvmMemoryStatusListener.java
    • -0
    • +42
    ./memory/JvmMemoryStatusSnapshot.java
    • -0
    • +53
    ./memory/MBeanAttributeProvider.java
    • -0
    • +27
    ./memory/MBeanAvailableMemory.java
    • -0
    • +132
    ./memory/MeminfoAvailableMemory.java
    • -0
    • +80
    ./memory/MemoryInfo.java
    • -0
    • +29
    ./memory/MemoryManager.java
    • -0
    • +79
    ./memory/MemoryStatusBroadcaster.java
    • -0
    • +32
    ./memory/OsMemoryStatus.java
    • -0
    • +21
    ./memory/OsMemoryStatusListener.java
    • -0
    • +42
    ./memory/OsMemoryStatusSnapshot.java
    • -0
    • +126
    ./memory/VmstatAvailableMemory.java
  1. … 26 more files in changeset.