* src/vm/vm.c (HEAP_MAXSIZE): Changed to 128MB.
authortwisti <none@none>
Thu, 25 May 2006 12:21:23 +0000 (12:21 +0000)
committertwisti <none@none>
Thu, 25 May 2006 12:21:23 +0000 (12:21 +0000)
(STACK_SIZE): Changed to 64kB.
(Xusage): Calculate default sizes.

* NEWS: New stuff added.

NEWS
src/vm/vm.c

diff --git a/NEWS b/NEWS
index dce8c7cdba38941bd9023b6dfc6c17f1eab629b1..3982745c23372e35395762d734cd6d188fa6e153 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,8 +2,10 @@ New in release 0.96 (XXX XX, 2006)
 
   * Handle Miranda-methods properly.
   * try-catch line number problem with jikes fixed.
-  * Added support for libjvm.so.
+  * Added support for libjvm.so (including invocation API).
   * Stripped down object code size of code generators.
+  * Increased default maximum heap size to 256MB and decreased default
+    stack size to 64kB.
 
 
 New in release 0.95 (February 13, 2006)
index 3e83884de714dadc87696735416433e6d00002e1..748890fe6ef736cadbd47a132be8940317f5b5cd 100644 (file)
@@ -1,4 +1,4 @@
-/* src/vm/finalizer.c - finalizer linked list and thread
+/* src/vm/vm.c - VM startup and shutdown functions
 
    Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
    C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
@@ -28,7 +28,7 @@
 
    Changes: Martin Platter
 
-   $Id: finalizer.c 4357 2006-01-22 23:33:38Z twisti $
+   $Id: vm.c 4357 2006-01-22 23:33:38Z twisti $
 
 */
 
@@ -97,9 +97,9 @@ bool startit = true;
 
 /* define heap sizes **********************************************************/
 
-#define HEAP_MAXSIZE      64 * 1024 * 1024  /* default 64MB                   */
-#define HEAP_STARTSIZE    2  * 1024 * 1024  /* default 2MB                    */
-#define STACK_SIZE              128 * 1024  /* default 128kB                  */
+#define HEAP_MAXSIZE      128 * 1024 * 1024 /* default 128MB                  */
+#define HEAP_STARTSIZE      2 * 1024 * 1024 /* default 2MB                    */
+#define STACK_SIZE                64 * 1024 /* default 64kB                   */
 
 
 /* define command line options ************************************************/
@@ -417,9 +417,9 @@ static void Xusage(void)
        puts("                             value is appended to the bootstrap class path");
        puts("    -Xbootclasspath/p:<zip/jar files and directories separated by :>");
        puts("                             value is prepended to the bootstrap class path");
-       puts("    -Xms<size>               set the initial size of the heap (default: 2MB)");
-       puts("    -Xmx<size>               set the maximum size of the heap (default: 64MB)");
-       puts("    -Xss<size>               set the thread stack size (default: 128kB)");
+       printf("    -Xms<size>               set the initial size of the heap (default: %dMB)\n", HEAP_STARTSIZE / 1024 / 1024);
+       printf("    -Xmx<size>               set the maximum size of the heap (default: %dMB)\n", HEAP_MAXSIZE / 1024 / 1024);
+       printf("    -Xss<size>               set the thread stack size (default: %dkB)\n", STACK_SIZE / 1024);
        puts("    -Xprof[:bb]              collect and print profiling data");
 #if defined(ENABLE_JVMTI)
     /* -Xdebug option depend on gnu classpath JDWP options. options: