Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 622 for daemons (0.16 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/MasterExpirationStrategy.java

            // Expire recently unused Daemons when memory pressure is high
            addLowMemoryDaemonExpirationStrategyWhenSupported(daemon, strategies, listenerManager);
    
            // Expire when Daemon Registry becomes unreachable for some reason
            strategies.add(new DaemonRegistryUnavailableExpirationStrategy(daemon));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/StdioIntegrationTest.groovy

    class StdioIntegrationTest extends AbstractIntegrationSpec {
        def setup() {
            executer.requireDaemon()
            // This isn't actually required - the test is fine with shared daemons
            // In fact, it would be much better to test this feature using shared daemons
            executer.requireIsolatedDaemons()
        }
    
        def "task can read stdin when stdin has bounded length"() {
            given:
            buildFile << '''
    task echo {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalInvalidatableVirtualFileSystemConnection.java

     */
    public interface InternalInvalidatableVirtualFileSystemConnection extends InternalProtocolInterface {
    
        /**
         * Notifies all daemons about file changes made by an external process, like an IDE.
         *
         * <p>The daemons will use this information to update the retained file system state.
         *
         * <p>The paths which are passed in need to be absolute, canonicalized paths.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/main/java/org/gradle/workers/WorkerExecutor.java

         * @since 5.6
         */
        WorkQueue classLoaderIsolation();
    
        /**
         * Creates a {@link WorkQueue} to submit work for asynchronous execution in a daemon process.
         *
         * Work will execute in an idle daemon, if available.  If no idle daemons are available, a new daemon will be started.
         *
         * @since 5.6
         */
        WorkQueue processIsolation();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/resources/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest/shared/build.gradle

    subprojects {
        apply plugin: "groovy"
    
        dependencies {
            implementation localGroovy()
        }
    
        compileJava.options.fork = true
    
        // force creation of multiple daemons for Java compilation by alternating between two distinct sets of JVM args
        def count = (project.name - "project") as int
        compileJava.options.forkOptions.jvmArgs = count % 2 ? ["-dsa"] : ["-esa"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 388 bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultProjectConnection.java

            operationParamsBuilder.setCancellationToken(new DefaultCancellationTokenSource().token());
            operationParamsBuilder.setParameters(parameters);
            operationParamsBuilder.setEntryPoint("Notify daemons about changed paths API");
            connection.run(
                new ConsumerAction<Void>() {
                    @Override
                    public ConsumerOperationParameters getParameters() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/crossVersionTest/groovy/org/gradle/integtests/wrapper/AbstractWrapperCrossVersionIntegrationTest.groovy

                executer.withCommandLineGradleOpts("-Dgradle.user.home=${executer.gradleUserHomeDir}")
            }
    
            // Use isolated daemons in order to verify that using the installed distro works, and so that the daemons aren't visible to other tests, because
            // the installed distro is deleted at the end of this test
            executer.requireIsolatedDaemons()
            return executer
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/EmbeddedDaemonRegistry.java

    import java.util.concurrent.CopyOnWriteArrayList;
    
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State;
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Canceled;
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle;
    
    /**
     * A daemon registry for daemons running in the same JVM.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/AbstractDaemonWorkerExecutorIntegrationSpec.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.workers.internal
    
    import org.gradle.integtests.fixtures.daemon.DaemonLogsAnalyzer
    import org.gradle.integtests.fixtures.daemon.DaemonsFixture
    import org.gradle.integtests.fixtures.executer.ExecutionResult
    
    
    abstract class AbstractDaemonWorkerExecutorIntegrationSpec extends AbstractWorkerExecutorIntegrationTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonContext.java

    /**
     * A value object that describes a daemons environment/context.
     * <p>
     * This is used by clients to determine whether or not a daemon meets its requirements
     * such as JDK version, special system properties etc.
     * <p>
     * Instances are serialized by {@link org.gradle.launcher.daemon.context.DefaultDaemonContext.Serializer}
     * and shared via the Daemon Registry.
     *
     * Implementation is immutable.
     *
     * @see DaemonCompatibilitySpec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top