You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by md...@apache.org on 2022/03/18 14:05:03 UTC

[solr] branch main updated: SOLR-16103 Increase CodeCache size for test JVM (#748)

This is an automated email from the ASF dual-hosted git repository.

mdrob pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new c9d54e6  SOLR-16103 Increase CodeCache size for test JVM (#748)
c9d54e6 is described below

commit c9d54e68b620225a270de0275e0e5c52e822399a
Author: Mike Drob <md...@apache.org>
AuthorDate: Fri Mar 18 09:04:58 2022 -0500

    SOLR-16103 Increase CodeCache size for test JVM (#748)
    
    * Update RandomizedRunner to 2.7.9
    * Increase test compiler code cache size
---
 gradle/testing/defaults-tests.gradle                  | 3 ++-
 solr/licenses/randomizedtesting-runner-2.7.6.jar.sha1 | 1 -
 solr/licenses/randomizedtesting-runner-2.7.9.jar.sha1 | 1 +
 versions.lock                                         | 4 ++--
 versions.props                                        | 2 +-
 5 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/gradle/testing/defaults-tests.gradle b/gradle/testing/defaults-tests.gradle
index f2da557..b39abdb 100644
--- a/gradle/testing/defaults-tests.gradle
+++ b/gradle/testing/defaults-tests.gradle
@@ -46,8 +46,9 @@ allprojects {
            value: { -> ((int) Math.max(1, Math.min(Runtime.runtime.availableProcessors() / 2.0, 4.0))) },
            description: "Number of forked test JVMs"],
           [propName: 'tests.haltonfailure', value: true, description: "Halt processing on test failure."],
+          // Default code cache size is 240m, but disabling C2 compiler shrinks it to 48m, which turns out to not be enough
           [propName: 'tests.jvmargs',
-           value: { -> propertyOrEnvOrDefault("tests.jvmargs", "TEST_JVM_ARGS", "-XX:TieredStopAtLevel=1") },
+           value: { -> propertyOrEnvOrDefault("tests.jvmargs", "TEST_JVM_ARGS", "-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=120m") },
            description: "Arguments passed to each forked JVM."],
           // Other settings.
           [propName: 'tests.neverUpToDate', value: true,
diff --git a/solr/licenses/randomizedtesting-runner-2.7.6.jar.sha1 b/solr/licenses/randomizedtesting-runner-2.7.6.jar.sha1
deleted file mode 100644
index 289bc22..0000000
--- a/solr/licenses/randomizedtesting-runner-2.7.6.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-17894fe98cce53f9bd994044d9bea7bd7801cafa
diff --git a/solr/licenses/randomizedtesting-runner-2.7.9.jar.sha1 b/solr/licenses/randomizedtesting-runner-2.7.9.jar.sha1
new file mode 100644
index 0000000..acca4f7
--- /dev/null
+++ b/solr/licenses/randomizedtesting-runner-2.7.9.jar.sha1
@@ -0,0 +1 @@
+98bf05d3892eddb520d66b28535c2031c5fee599
diff --git a/versions.lock b/versions.lock
index b81b67c..2f7c3eb 100644
--- a/versions.lock
+++ b/versions.lock
@@ -1,7 +1,7 @@
 # Run ./gradlew --write-locks to regenerate this file
 com.beust:jcommander:1.82 (2 constraints: 2b123714)
 com.carrotsearch:hppc:0.8.2 (2 constraints: ad0fc5a6)
-com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.7.6 (2 constraints: d715c5e2)
+com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.7.9 (2 constraints: da1558e3)
 com.cybozu.labs:langdetect:1.1-20120112 (1 constraints: 5c066d5e)
 com.epam:parso:2.0.14 (1 constraints: 8e0c750e)
 com.esri.geometry:esri-geometry-api:2.2.0 (1 constraints: 5c0db22c)
@@ -106,7 +106,7 @@ jakarta.xml.bind:jakarta.xml.bind-api:2.3.3 (3 constraints: 882a5cbd)
 javax.measure:unit-api:1.0 (5 constraints: 8e3e2cc5)
 javax.servlet:javax.servlet-api:3.1.0 (3 constraints: 75209943)
 joda-time:joda-time:2.9.9 (4 constraints: eb1fe06a)
-junit:junit:4.13.2 (7 constraints: b26cac18)
+junit:junit:4.13.2 (7 constraints: 126d2cb7)
 net.arnx:jsonic:1.2.7 (2 constraints: db10d4d1)
 net.java.dev.jna:jna:5.10.0 (1 constraints: 8d0c870e)
 net.jcip:jcip-annotations:1.0 (6 constraints: 6130731b)
diff --git a/versions.props b/versions.props
index d73e19a..664e3b5 100644
--- a/versions.props
+++ b/versions.props
@@ -1,5 +1,5 @@
 com.adobe.testing:s3mock-junit4=2.1.34
-com.carrotsearch.randomizedtesting:*=2.7.6
+com.carrotsearch.randomizedtesting:*=2.7.9
 com.carrotsearch:hppc=0.8.2
 com.cybozu.labs:langdetect=1.1-20120112
 com.fasterxml.jackson*:*=2.13.1