summaryrefslogtreecommitdiff
path: root/packages/obsolete/jamvm/jamvm-1.3.0/heap-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/obsolete/jamvm/jamvm-1.3.0/heap-size.patch')
-rw-r--r--packages/obsolete/jamvm/jamvm-1.3.0/heap-size.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/obsolete/jamvm/jamvm-1.3.0/heap-size.patch b/packages/obsolete/jamvm/jamvm-1.3.0/heap-size.patch
new file mode 100644
index 0000000000..36d681889d
--- /dev/null
+++ b/packages/obsolete/jamvm/jamvm-1.3.0/heap-size.patch
@@ -0,0 +1,22 @@
+--- jamvm-1.3.0/src/jam.h.orig 2005-04-02 14:38:49.000000000 +0200
++++ jamvm-1.3.0/src/jam.h 2005-04-02 14:41:18.000000000 +0200
+@@ -531,13 +531,19 @@
+ #define MIN_STACK 2*KB
+
+ /* default minimum size of object heap */
++#ifndef DEFAULT_MIN_HEAP
+ #define DEFAULT_MIN_HEAP 2*MB
++#endif
+
+ /* default maximum size of object heap */
++#ifndef DEFAULT_MAX_HEAP
+ #define DEFAULT_MAX_HEAP 128*MB
++#endif
+
+ /* default size of the Java stack */
++#ifndef DEFAULT_STACK
+ #define DEFAULT_STACK 64*KB
++#endif
+
+ /* size of emergency area - big enough to create
+ a StackOverflow exception */