diff options
author | joerg <joerg@pkgsrc.org> | 2015-01-29 21:29:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-01-29 21:29:32 +0000 |
commit | 2e42d6650a6b760c0f0401002ad46095e5bffa56 (patch) | |
tree | b424c14ae44e4667bdb8502dea998835fa99badc /lang/openjdk7/patches | |
parent | 9872c2af747acf9e665f4b7fde8fe60906bbd9f9 (diff) | |
download | pkgsrc-2e42d6650a6b760c0f0401002ad46095e5bffa56.tar.gz |
Limit memory used by the Queens test program.
Diffstat (limited to 'lang/openjdk7/patches')
-rw-r--r-- | lang/openjdk7/patches/patch-hotspot_make_bsd_makefiles_buildtree.make | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/openjdk7/patches/patch-hotspot_make_bsd_makefiles_buildtree.make b/lang/openjdk7/patches/patch-hotspot_make_bsd_makefiles_buildtree.make index eb2c41d9de4..f8c82e24ea0 100644 --- a/lang/openjdk7/patches/patch-hotspot_make_bsd_makefiles_buildtree.make +++ b/lang/openjdk7/patches/patch-hotspot_make_bsd_makefiles_buildtree.make @@ -1,4 +1,4 @@ -$NetBSD: patch-hotspot_make_bsd_makefiles_buildtree.make,v 1.1 2014/01/20 19:25:11 joerg Exp $ +$NetBSD: patch-hotspot_make_bsd_makefiles_buildtree.make,v 1.2 2015/01/29 21:29:32 joerg Exp $ --- hotspot/make/bsd/makefiles/buildtree.make.orig 2014-01-06 02:36:18.000000000 +0000 +++ hotspot/make/bsd/makefiles/buildtree.make @@ -11,3 +11,12 @@ $NetBSD: patch-hotspot_make_bsd_makefiles_buildtree.make,v 1.1 2014/01/20 19:25: ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero +@@ -494,7 +494,7 @@ test_gamma: $(BUILDTREE_MAKE) $(GAMMADI + echo "# Compile Queens program for test"; \ + echo ""; \ + echo "rm -f Queens.class"; \ +- echo "\$${JAVA_HOME}/bin/javac -d . $(GAMMADIR)/make/test/Queens.java"; \ ++ echo "\$${JAVA_HOME}/bin/javac -J-XX:+UseSerialGC -J-mx1024m -d . $(GAMMADIR)/make/test/Queens.java"; \ + echo ""; \ + echo "# Set library path solely for gamma launcher test run"; \ + echo ""; \ |