Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 292 for forkx (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/FileWalkingBenchmark.java

     * limitations under the License.
     */
    
    package org.gradle.caching.internal.tasks;
    
    import org.apache.commons.io.FileUtils;
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.Level;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Param;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/DaemonGroovyCompilerIntegrationTest.groovy

    import org.junit.Assume
    
    import static org.gradle.util.internal.TextUtil.normaliseFileSeparators
    
    class DaemonGroovyCompilerIntegrationTest extends AbstractApiGroovyCompilerIntegrationSpec {
        def "respects fork options settings and ignores executable"() {
            Jvm differentJvm = AvailableJavaHomes.differentJdkWithValidJre
            Assume.assumeNotNull(differentJvm)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. src/syscall/exec_freebsd.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: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top