summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-05-07 11:58:18 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-05-07 11:58:18 +0000
commitce2fd1480a16da708a26483ea3cb083a79a461a2 (patch)
treefb3dc53203d2ef5571087cfed6af7aec7fd8905c /dev-java
parentunmask boost-1.49.0 (diff)
downloadgentoo-2-ce2fd1480a16da708a26483ea3cb083a79a461a2.tar.gz
gentoo-2-ce2fd1480a16da708a26483ea3cb083a79a461a2.tar.bz2
gentoo-2-ce2fd1480a16da708a26483ea3cb083a79a461a2.zip
Add workaround for large memory on x86. #405239
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sun-jre-bin/ChangeLog6
-rw-r--r--dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild6
-rw-r--r--dev-java/sun-jre-bin/sun-jre-bin-1.6.0.32.ebuild6
3 files changed, 13 insertions, 5 deletions
diff --git a/dev-java/sun-jre-bin/ChangeLog b/dev-java/sun-jre-bin/ChangeLog
index 304878bd17ce..2b695df7616f 100644
--- a/dev-java/sun-jre-bin/ChangeLog
+++ b/dev-java/sun-jre-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/sun-jre-bin
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.210 2012/05/05 21:53:37 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.211 2012/05/07 11:58:18 sera Exp $
+
+ 07 May 2012; Ralph Sennhauser <sera@gentoo.org> sun-jre-bin-1.6.0.31.ebuild,
+ sun-jre-bin-1.6.0.32.ebuild:
+ Add workaround for large memory on x86. #405239
*sun-jre-bin-1.6.0.32 (05 May 2012)
diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild
index 29b3ecb50e42..ca43ec17fb4c 100644
--- a/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild
+++ b/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild,v 1.4 2012/05/05 15:30:56 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild,v 1.5 2012/05/07 11:58:18 sera Exp $
EAPI="4"
@@ -71,7 +71,9 @@ src_compile() {
if use x86; then
bin/java -client -Xshare:dump || die
fi
- bin/java -server -Xshare:dump || die
+ # limit heap size for large memory on x86 #405239
+ # this is a workaround and shouldn't be needed.
+ bin/java -server -Xmx64m -Xshare:dump || die
}
src_install() {
diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.32.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.32.ebuild
index c509ebfd08cc..0373eb413c02 100644
--- a/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.32.ebuild
+++ b/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.32.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.32.ebuild,v 1.1 2012/05/05 21:53:37 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.32.ebuild,v 1.2 2012/05/07 11:58:18 sera Exp $
EAPI="4"
@@ -71,7 +71,9 @@ src_compile() {
if use x86; then
bin/java -client -Xshare:dump || die
fi
- bin/java -server -Xshare:dump || die
+ # limit heap size for large memory on x86 #405239
+ # this is a workaround and shouldn't be needed.
+ bin/java -server -Xmx64m -Xshare:dump || die
}
src_install() {