Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 249 for forkx (0.16 sec)

  1. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/ProviderAwareCompilerDaemonForkOptions.java

    import org.gradle.util.internal.CollectionUtils;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Fork options for compilation that can accept user-defined {@link CommandLineArgumentProvider} objects.
     *
     * Only take effect if {@code fork} is {@code true}.
     *
     * @since 7.1
     */
    @Incubating
    public class ProviderAwareCompilerDaemonForkOptions extends BaseForkOptions {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/jmh/java/org/gradle/api/internal/provider/EvaluationContextPerfTest.java

    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.OutputTimeUnit;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.infra.Blackhole;
    
    import java.util.concurrent.TimeUnit;
    
    @State(Scope.Thread)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @Fork(2)
    public class EvaluationContextPerfTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:31 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/JavaExecTest.groovy

            javaCompile.destinationDirectory.fileValue(temporaryFolder.createDir())
            def invalidJavaHome = "invalidJavaHome"
    
            when:
            javaCompile.options.fork = true
            javaCompile.options.forkOptions.javaHome = new File("invalidJavaHome")
            javaCompile.createSpec()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. testing/performance/src/templates/project-with-source/build.gradle

    }
    
    String compilerMemory = getProperty('compilerMemory')
    String testRunnerMemory = getProperty('testRunnerMemory')
    int testForkEvery = getProperty('testForkEvery') as Integer
    
    tasks.withType(JavaCompile) {
        options.fork = true
        options.forkOptions.memoryInitialSize=compilerMemory
        options.forkOptions.memoryMaximumSize=compilerMemory
    }
    tasks.withType(Test) {
        minHeapSize = testRunnerMemory
        maxHeapSize = testRunnerMemory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. 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)
  6. platforms/jvm/scala/src/main/java/org/gradle/api/tasks/scala/ScalaForkOptions.java

     * limitations under the License.
     */
    
    import org.gradle.api.tasks.compile.ProviderAwareCompilerDaemonForkOptions;
    
    /**
     * Fork options for Scala compilation. Only take effect if {@code BaseScalaCompileOptions.fork}
     * is {@code true}.
     */
    public abstract class ScalaForkOptions extends ProviderAwareCompilerDaemonForkOptions {
        private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canJointCompileWithJavaCompilerExecutable/build.gradle

    apply plugin: "groovy"
    
    repositories {
        mavenCentral()
    }
    
    compileGroovy {
        options.fork = true
        options.forkOptions.javaHome = file(jdkHome)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 152 bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle;
    
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.infra.Blackhole;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top