8189099: JTReg now supports 256 jobs
Reviewed-by: martin, erikj
diff --git a/make/RunTests.gmk b/make/RunTests.gmk
index 7dffae2..269f5d5 100644
--- a/make/RunTests.gmk
+++ b/make/RunTests.gmk
@@ -368,11 +368,6 @@
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(JOBS)))
endif
- ifeq ($$(shell $$(EXPR) $$($1_JTREG_JOBS) \> 50), 1)
- # Until CODETOOLS-7901892 is fixed, JTreg cannot handle more than 50 jobs
- $1_JTREG_JOBS := 50
- endif
-
# Make sure MaxRAMPercentage is high enough to not cause OOM or swapping since
# we may end up with a lot of JVM's
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $$(EXPR) 25 / $$($1_JTREG_JOBS))
diff --git a/test/Makefile b/test/Makefile
index d14c065..3b92b8d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -48,12 +48,7 @@
all: jdk_all langtools_all jaxp_all
ifeq ($(TEST_JOBS), 0)
- ifeq ($(shell $(EXPR) $(JOBS) \> 50), 1)
- # JTReg cannot handle more than 50 in concurrency
- JDK_TEST_JOBS=50
- else
- JDK_TEST_JOBS=$(JOBS)
- endif
+ JDK_TEST_JOBS=$(JOBS)
else
JDK_TEST_JOBS=$(TEST_JOBS)
endif