[Infrastructure] Use Parallel GC for JPS tests and increase Xmx
This commit is contained in:
committed by
Space Team
parent
f525d03e67
commit
9eb6646576
@@ -98,6 +98,7 @@ fun JUnit.configureForKotlin(xmx: String = "1600m") {
|
|||||||
"-Xmx$xmx",
|
"-Xmx$xmx",
|
||||||
"-XX:+UseCodeCacheFlushing",
|
"-XX:+UseCodeCacheFlushing",
|
||||||
"-XX:ReservedCodeCacheSize=128m",
|
"-XX:ReservedCodeCacheSize=128m",
|
||||||
|
"-XX:+UseParallelGC",
|
||||||
"-Djna.nosys=true",
|
"-Djna.nosys=true",
|
||||||
"-Didea.platform.prefix=Idea",
|
"-Didea.platform.prefix=Idea",
|
||||||
"-Didea.is.unit.test=true",
|
"-Didea.is.unit.test=true",
|
||||||
@@ -137,7 +138,7 @@ fun setupGenerateAllTestsRunConfiguration() {
|
|||||||
// Needed because of idea.ext plugin doesn't allow to set TEST_SEARCH_SCOPE = moduleWithDependencies
|
// Needed because of idea.ext plugin doesn't allow to set TEST_SEARCH_SCOPE = moduleWithDependencies
|
||||||
fun setupFirRunConfiguration() {
|
fun setupFirRunConfiguration() {
|
||||||
|
|
||||||
val junit = JUnit("_stub").apply { configureForKotlin("2048m") }
|
val junit = JUnit("_stub").apply { configureForKotlin("4096m") }
|
||||||
junit.moduleName = "kotlin.compiler.fir.fir2ir.test"
|
junit.moduleName = "kotlin.compiler.fir.fir2ir.test"
|
||||||
junit.pattern = """^.*\.FirPsi\w+Test\w*Generated$"""
|
junit.pattern = """^.*\.FirPsi\w+Test\w*Generated$"""
|
||||||
junit.vmParameters = junit.vmParameters.replace(rootDir.absolutePath, "\$PROJECT_DIR\$")
|
junit.vmParameters = junit.vmParameters.replace(rootDir.absolutePath, "\$PROJECT_DIR\$")
|
||||||
|
|||||||
Reference in New Issue
Block a user