[FIR-Test] Increase code cache size
This commit is contained in:
@@ -54,7 +54,7 @@ sourceSets {
|
|||||||
projectTest {
|
projectTest {
|
||||||
systemProperties(project.properties.filterKeys { it.startsWith("fir.") })
|
systemProperties(project.properties.filterKeys { it.startsWith("fir.") })
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
jvmArgs!!.removeIf { it.contains("-Xmx") }
|
jvmArgs!!.removeIf { it.contains("-Xmx") || it.contains("-Xms") || it.contains("ReservedCodeCacheSize") }
|
||||||
minHeapSize = "8g"
|
minHeapSize = "8g"
|
||||||
maxHeapSize = "8g"
|
maxHeapSize = "8g"
|
||||||
dependsOn(":dist")
|
dependsOn(":dist")
|
||||||
@@ -66,6 +66,7 @@ projectTest {
|
|||||||
jvmArgs(paramRegex.findAll(argsExt).map { it.groupValues[1] }.toList())
|
jvmArgs(paramRegex.findAll(argsExt).map { it.groupValues[1] }.toList())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
jvmArgs("-XX:ReservedCodeCacheSize=512m")
|
||||||
}
|
}
|
||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
|
|||||||
Reference in New Issue
Block a user