changeset 283:d4c291fa5add cacao

2007-10-08 Andrew Haley <aph@redhat.com> * patches/icedtea-memory-limits.patch: New file. Set maximum PermGen space to 128M, MaxHeap to 512M. * Makefile.am (ICEDTEA_PATCHES): Add icedtea-memory-limits.patch.
author Andrew Haley <aph@redhat.com>
date Tue, 09 Oct 2007 13:01:03 +0100
parents 83a4cd80f9e7
children 2dfaecb0ab7c
files ChangeLog Makefile.am patches/icedtea-memory-limits.patch
diffstat 3 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Oct 09 02:13:54 2007 +0200
+++ b/ChangeLog	Tue Oct 09 13:01:03 2007 +0100
@@ -1,3 +1,9 @@
+2007-10-08  Andrew Haley  <aph@redhat.com>
+
+	* patches/icedtea-memory-limits.patch: New file.
+	Set maximum PermGen space to 128M, MaxHeap to 512M.
+	* Makefile.am (ICEDTEA_PATCHES): Add icedtea-memory-limits.patch.
+
 2007-10-08  Mark Wielaard  <mark@klomp.org>
 
 	* AUTHORS: Added Keith Seitz.
--- a/Makefile.am	Tue Oct 09 02:13:54 2007 +0200
+++ b/Makefile.am	Tue Oct 09 13:01:03 2007 +0100
@@ -147,6 +147,7 @@
 	patches/icedtea-float-double-trailing-zeros.patch \
 	patches/icedtea-xinerama.patch \
 	patches/icedtea-gtkplaf.patch \
+	patches/icedtea-memory-limits.patch \
 	$(FAST_BUILD_PATCH) \
 	$(DISTRIBUTION_PATCHES)
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/icedtea-memory-limits.patch	Tue Oct 09 13:01:03 2007 +0100
@@ -0,0 +1,22 @@
+--- openjdk/hotspot/src/share/vm/runtime/globals.hpp~	2007-09-27 08:46:16.000000000 +0100
++++ openjdk/hotspot/src/share/vm/runtime/globals.hpp	2007-10-05 19:06:32.000000000 +0100
+@@ -2612,7 +2612,7 @@
+           "an OS lock")                                                     \
+                                                                             \
+   /* gc parameters */                                                       \
+-  product(uintx, MaxHeapSize, ScaleForWordSize(64*M),                       \
++  product(uintx, MaxHeapSize, ScaleForWordSize(512*M),                       \
+           "Default maximum size for object heap (in bytes)")                \
+                                                                             \
+   product_pd(uintx, NewSize, 						    \
+--- openjdk/hotspot/src/cpu/x86/vm/c2_globals_x86.hpp~	2007-09-27 08:45:59.000000000 +0100
++++ openjdk/hotspot/src/cpu/x86/vm/c2_globals_x86.hpp	2007-10-05 19:02:37.000000000 +0100
+@@ -101,7 +101,7 @@
+ 
+ // Heap related flags
+ define_pd_global(uintx, PermSize,    ScaleForWordSize(16*M));
+-define_pd_global(uintx, MaxPermSize, ScaleForWordSize(64*M));
++define_pd_global(uintx, MaxPermSize, ScaleForWordSize(128*M));
+ 
+ // Ergonomics related flags
+ define_pd_global(bool, NeverActAsServerClassMachine, false);