summaryrefslogtreecommitdiff
path: root/packages/obsolete/jamvm/jamvm-1.3.0/heap-size.patch
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2008-01-17 19:23:03 +0000
committerDaniel Willmann <daniel@totalueberwachung.de>2008-01-17 19:23:03 +0000
commit5f89da2c9521b9bff73a34b933929c1767c454ae (patch)
treea6eb507e8e20dbbc500655ea515ece4cb5500bd9 /packages/obsolete/jamvm/jamvm-1.3.0/heap-size.patch
parent1bf5c3346ac395825d49f895922a61bcdbb238e5 (diff)
parent3c378f37f55ee00c41fce4897f8a09cb51b59f94 (diff)
merge of '15abe433106a3416f43fe1507eb0032a960434bb'
and '2538d8c9c6f9647baba548394a1e20a2e4467a19'
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 */