Skip to content

Commit

Permalink
8166648: jib make run-test for langtools results in intermittent fail…
Browse files Browse the repository at this point in the history
…ures on windows-x86

Reviewed-by: erikj, jjg
  • Loading branch information
tbell29552 committed Oct 8, 2016
1 parent 6fef223 commit ece1def
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions langtools/test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,15 @@ ifdef TESTBOOTCLASSPATH
-refvmoptions:-Xbootclasspath/p:$(TESTBOOTCLASSPATH)
endif

ifeq ($(ARCH_DATA_MODEL),32)
# Set the GC options for test vms
JTREG_GC_OPTION = -vmoption:-XX:+UseSerialGC
JTREG_OPTIONS += $(JTREG_GC_OPTION)
endif
# Set the max memory for jtreg target test JVMs
JTREG_TESTVM_MEMORY_OPTION = -vmoption:-Xmx768m
JTREG_OPTIONS += $(JTREG_TESTVM_MEMORY_OPTION)

ifdef EXTRA_JTREG_OPTIONS
JTREG_OPTIONS += $(EXTRA_JTREG_OPTIONS)
endif
Expand Down Expand Up @@ -304,8 +313,6 @@ jtreg-tests: check-jtreg FRC
$(JTREG_OUTPUT_DIR)/diff.html $(JTREG_OUTPUT_DIR)/status.txt
@mkdir -p $(JTREG_OUTPUT_DIR)
JT_JAVA=$(JT_JAVA) $(JTREG) \
-J-Xmx512m \
-vmoption:-Xmx768m \
-a -ignore:quiet $(if $(JTREG_VERBOSE),-v:$(JTREG_VERBOSE)) \
-r:$(JTREG_OUTPUT_DIR)/JTreport \
-w:$(JTREG_OUTPUT_DIR)/JTwork \
Expand Down

0 comments on commit ece1def

Please sign in to comment.