diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-05-08 14:23:17 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-05-08 14:23:17 +0000 |
commit | e680c1afb2bc7c9df36e0f2a463fe4d32d21eea5 (patch) | |
tree | e51d331e393f007de07e109665f8f661e9554f80 /openwrt/package/sablevm/patches/001-heap_size.patch | |
parent | 6de0c2173e8c5d584c8b428b5ab05bbc124b0b42 (diff) |
update sablevm to 1.13 (closes: #524),
add the patch from whiterussian to use a reasonable heap size.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3738 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/sablevm/patches/001-heap_size.patch')
-rw-r--r-- | openwrt/package/sablevm/patches/001-heap_size.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/openwrt/package/sablevm/patches/001-heap_size.patch b/openwrt/package/sablevm/patches/001-heap_size.patch new file mode 100644 index 0000000000..d28237296a --- /dev/null +++ b/openwrt/package/sablevm/patches/001-heap_size.patch @@ -0,0 +1,15 @@ +diff -ruN sablevm-1.11.1-orig/src/libsablevm/system.h sablevm-1.11.1-1/src/libsablevm/system.h +--- sablevm-1.11.1-orig/src/libsablevm/system.h 2005-03-18 01:25:09.000000000 +0100 ++++ sablevm-1.11.1-1/src/libsablevm/system.h 2005-03-22 01:05:19.000000000 +0100 +@@ -279,9 +279,9 @@ + + #elif defined (_SABLEVM_COPY_GC) || (_SABLEVM_GENCOPY_GC) + +-#define SVM_HEAP_DEFAULT_MIN_SIZE 16777216 ++#define SVM_HEAP_DEFAULT_MIN_SIZE 1048576 + #define SVM_HEAP_DEFAULT_MAX_SIZE 0 +-#define SVM_HEAP_DEFAULT_ALLOCATION_INCREMENT 1048576 ++#define SVM_HEAP_DEFAULT_ALLOCATION_INCREMENT 65536 + + #if defined (_SABLEVM_GENCOPY_GC) + |