diff options
author | joerg <joerg@pkgsrc.org> | 2012-11-03 20:03:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-11-03 20:03:02 +0000 |
commit | 5a981949096f91c8d63a878b8a8185a6b3fce1f8 (patch) | |
tree | 8af286ae6cefafc75026ece5c9636c6d0246ad52 /lang/openjdk7/patches | |
parent | ff0df3b4be8d862256aab2fa6a2b08665b4baa62 (diff) | |
download | pkgsrc-5a981949096f91c8d63a878b8a8185a6b3fce1f8.tar.gz |
Do as advertised for the last commit and really use the AS limit.
Thanks to veego for noticing.
Diffstat (limited to 'lang/openjdk7/patches')
-rw-r--r-- | lang/openjdk7/patches/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/openjdk7/patches/patch-aa b/lang/openjdk7/patches/patch-aa index ebeaea2c0f4..7f961cb4779 100644 --- a/lang/openjdk7/patches/patch-aa +++ b/lang/openjdk7/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.6 2012/11/02 22:28:54 joerg Exp $ +$NetBSD: patch-aa,v 1.7 2012/11/03 20:03:03 joerg Exp $ --- hotspot/src/os/bsd/vm/os_bsd.cpp.orig 2012-05-12 08:57:44.793207000 +0000 +++ hotspot/src/os/bsd/vm/os_bsd.cpp @@ -60,7 +60,7 @@ $NetBSD: patch-aa,v 1.6 2012/11/02 22:28:54 joerg Exp $ + getrlimit(RLIMIT_DATA, &limits); + _physical_memory = MIN2(_physical_memory, (julong)limits.rlim_cur); +#if defined(RLIMIT_AS) -+ getrlimit(RLIMIT_DATA, &limits); ++ getrlimit(RLIMIT_AS, &limits); + _physical_memory = MIN2(_physical_memory, (julong)limits.rlim_cur); #endif } |