changeset 48096 | 513e0b467a92 |
parent 47218 | 918745561887 |
child 48624 | 5f86c562a39e |
--- a/test/hotspot/jtreg/Makefile Wed Nov 22 09:27:06 2017 -0800 +++ b/test/hotspot/jtreg/Makefile Wed Nov 22 14:31:48 2017 -0500 @@ -62,8 +62,12 @@ endif endif +ifndef CONCURRENCY_FACTOR + CONCURRENCY_FACTOR = 1 +endif + # Concurrency based on min(cores / 2, 12) -CONCURRENCY := $(shell expr $(NUM_CORES) / 2) +CONCURRENCY := $(shell awk 'BEGIN { printf "%.0f", $(NUM_CORES) / 2 * $(CONCURRENCY_FACTOR) }') ifeq ($(CONCURRENCY), 0) CONCURRENCY := 1 else ifeq ($(shell expr $(CONCURRENCY) \> 12), 1)