8172912: JTReg concurrency value must be limited

Reviewed-by: erikj
This commit is contained in:
Magnus Ihse Bursie 2017-02-03 14:32:38 +01:00
parent cd4b4d64de
commit 76d9bdcd0d

View File

@ -60,7 +60,12 @@ all: jdk_all langtools_all jaxp_all
-include $(TOPDIR)/closed/test/Makefile
ifeq ($(TEST_JOBS), 0)
JDK_TEST_JOBS=$(JOBS)
ifeq ($(shell $(EXPR) $(JOBS) \> 50), 1)
# JTReg cannot handle more than 50 in concurrency
JDK_TEST_JOBS=50
else
JDK_TEST_JOBS=$(JOBS)
endif
else
JDK_TEST_JOBS=$(TEST_JOBS)
endif