Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for jvmArgs (0.05 seconds)

  1. container-tests/build.gradle.kts

      onlyIf("By default not in CI") {
        !isCi.isPresent
          || (containerTests.isPresent && containerTests.get().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
        jvmArgs(
          "-Djdk.tracePinnedThreads=short",
        )
      }
    
      val javaToolchains = project.extensions.getByType<JavaToolchainService>()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 1.3K bytes
    - Click Count (1)
  2. build-logic/src/main/kotlin/okhttp.testing-conventions.gradle.kts

      testRuntimeOnly(library("junit-vintage-engine"))
      testRuntimeOnly(library("junit-platform-launcher"))
    }
    
    tasks.withType<Test> {
      useJUnitPlatform()
      jvmArgs("-Dokhttp.platform=$platform")
    
      if (platform == "loom") {
        jvmArgs("-Djdk.tracePinnedThreads=short")
      }
      if (platform == "openjsse") {
        if (testJavaVersion > 8) {
          throw GradleException("OpenJSSE is only supported on Java 8")
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 07:16:57 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  3. build-logic/build.gradle.kts

            val rootProperties = readProperties(rootPropertiesFile.asFile)
            val jvmArgs = listOf(buildLogicProperties, rootProperties).map { it.getProperty("org.gradle.jvmargs") }.toSet()
            if (jvmArgs.size > 1) {
                throw GradleException("gradle.properties and build-logic/gradle.properties have different org.gradle.jvmargs " +
                    "which may cause two daemons to be spawned on CI and in IDEA. " +
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Feb 09 03:14:32 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  4. benchmarks/build.gradle

      from { configurations.painless.collect { zipTree(it) } }
      into "${buildDir}/plugins/painless"
    }
    
    tasks.named("run").configure {
      executable = "${BuildParams.runtimeJavaHome}/bin/java"
      jvmArgs << "-Dplugins.dir=${buildDir}/plugins" << "-Dtests.index=${buildDir}/index"
      dependsOn "copyExpression", "copyPainless"
    }
    
    spotless {
      java {
        // IDEs can sometimes run annotation processors that leave files in
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                        args(stylesheetFile.absolutePath)
                        args(fvd.file.absolutePath)
                        args(outFile.absolutePath)
                        args(destDir.absolutePath)
                        jvmArgs('-Xmx1024m')
                        classpath = xslClasspath
                        systemProperty 'xslthl.config', xslthlConfigFile
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 04 07:24:54 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  6. benchmarks/README.md

    sudo cp .libs/libhsdis.so.0.0.0 /usr/lib/jvm/java-14-adoptopenjdk/lib/hsdis-amd64.so
    ```
    
    If you want to disassemble a single method do something like this:
    
    ```
    gradlew -p benchmarks run --args ' MemoryStatsBenchmark -jvmArgs "-XX:+UnlockDiagnosticVMOptions -XX:CompileCommand=print,*.yourMethodName -XX:PrintAssemblyOptions=intel"
    ```
    
    If you want `perf` to find the hot methods for you then do add `-prof perfasm`.
    
    ## Async Profiler
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon May 03 15:30:50 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  7. okhttp/build.gradle.kts

        val alpnBootJar =
          configurations
            .detachedConfiguration(
              dependencies.create("org.mortbay.jetty.alpn:alpn-boot:$alpnBootVersion"),
            ).singleFile
        tasks.withType<Test> {
          jvmArgs("-Xbootclasspath/p:$alpnBootJar")
        }
      }
    }
    
    // From https://github.com/Kotlin/kotlinx-atomicfu/blob/master/atomicfu/build.gradle.kts
    val compileJavaModuleInfo by tasks.registering(JavaCompile::class) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                String argline = System.getProperty("tests.jvm.argline");
                if (argline != null) {
                    test.jvmArgs((Object[]) argline.split(" "));
                }
    
                if (Util.getBooleanProperty("tests.asserts", true)) {
                    test.jvmArgs("-ea", "-esa");
                }
    
                Map<String, String> sysprops = Map.of(
                    "java.awt.headless",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  9. .github/workflows/containers.yml

    name: containers
    
    on:
      push:
        branches:
          - master
      pull_request:
        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      test_containers:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 875 bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/InternalClusterTestPlugin.java

                if (BuildParams.getRuntimeJavaVersion().compareTo(JavaVersion.VERSION_14) < 0) {
                    task.jvmArgs("-XX:+UseConcMarkSweepGC", "-XX:CMSInitiatingOccupancyFraction=75", "-XX:+UseCMSInitiatingOccupancyOnly");
                } else {
                    task.jvmArgs("-XX:+UseG1GC");
                }
            });
    
            // TODO: fix usages of IT tests depending on Tests methods so this extension is not necessary
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 02 23:12:29 GMT 2021
    - 1.8K bytes
    - Click Count (0)
Back to Top