mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-02 00:16:16 +02:00
e680c1afb2
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
16 lines
614 B
Diff
16 lines
614 B
Diff
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)
|
|
|