8172912: JTReg concurrency value must be limited
Reviewed-by: erikj
This commit is contained in:
parent
cd4b4d64de
commit
76d9bdcd0d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user