Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 125 for forkx (0.17 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

            """
                tasks.withType(JavaCompile) {
                    options.fork = true
                }
            """
        }
    
        @Override
        String logStatement() {
            "compiler daemon"
        }
    
        def setup() {
            executer.withArguments("-d")
        }
    
        def "respects fork options settings"() {
            goodCode()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/CompileOptions.java

         */
        @Input
        public boolean isFork() {
            return fork;
        }
    
        /**
         * Sets whether to run the compiler in its own process. Note that this does
         * not necessarily mean that a new process will be created for each compile task.
         * Defaults to {@code false}.
         */
        public void setFork(boolean fork) {
            this.fork = fork;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. src/syscall/exec_linux.go

    func runtime_AfterFork()
    func runtime_AfterForkInChild()
    
    // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.
    // If a dup or exec fails, write the errno error to pipe.
    // (Pipe is close-on-exec so if exec succeeds, it will be closed.)
    // In the child, this function must not acquire any locks, because
    // they might have been locked at the time of the fork. This means
    // no rescheduling, no malloc calls, and no new stack segments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

                plugins {
                    id 'java'
                }
    
                ${dependsOnPidCapturingAnnotationProcessor}
    
                tasks.withType(JavaCompile).configureEach {
                    options.fork = true
                }
            """
            file('src/main/java/Foo.java') << """
                @WorkerPid
                public class Foo {
                    public static void main(String[] args) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/GroovyDslFileContentGenerator.groovy

                options.fork = true
                options.incremental = true
                options.forkOptions.memoryInitialSize = compilerMemory
                options.forkOptions.memoryMaximumSize = compilerMemory
                options.forkOptions.jvmArgs.addAll(javaCompileJvmArgs)
            }
    
            tasks.withType(GroovyCompile).configureEach {
                groovyOptions.fork = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonStarter.java

            this.actionExecutionSpecFactory = actionExecutionSpecFactory;
        }
    
        public WorkerDaemonClient startDaemon(DaemonForkOptions forkOptions) {
            LOG.debug("Starting Gradle worker daemon with fork options {}.", forkOptions);
            Timer clock = Time.startTimer();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:39:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies { ${testImplementationConfiguration} 'junit:junit:4.13' }
                compileTestJava.options.fork = true  // forked as 'Gradle Test Executor 1'
            """
    
            file("src/test/java/example/MyTest.java") << """
                package example;
                public class MyTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. src/crypto/rand/rand_darwin.go

    	// any size, and never returns an error.
    	//
    	// "The subsystem is re-seeded from the kernel random number subsystem on a
    	// regular basis, and also upon fork(2)." - arc4random(3)
    	//
    	// Note that despite its legacy name, it uses a secure CSPRNG (not RC4) in
    	// all supported macOS versions.
    	altGetRandom = func(b []byte) error { unix.ARC4Random(b); return nil }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 667 bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/InProcessJavaCompilerIntegrationTest.groovy

    class InProcessJavaCompilerIntegrationTest extends AbstractJavaCompilerIntegrationSpec {
    
        @Override
        String compilerConfiguration() {
            """
                compileJava.options.with {
                    fork = false
                }
            """
        }
    
        @Override
        String logStatement() {
            "Java compiler API"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 981 bytes
    - Viewed (0)
Back to top