* src/vm/jit/stacktrace.h (STACKTRACE_CAPACITY_DEFAULT)
authortwisti <none@none>
Sat, 4 Feb 2006 19:08:24 +0000 (19:08 +0000)
committertwisti <none@none>
Sat, 4 Feb 2006 19:08:24 +0000 (19:08 +0000)
(STACKTRACE_CAPACITY_INCREMENT): Changed default from 40 to 80, seems
this is what eclipse and tomcat want.
(stacktracebuffer): Changed entries from an array to a pointer.

src/vm/jit/stacktrace.h

index 4bdb1cdff2fc66b4bd578b8cb79f37f8e63adec0..9a2a6519b7574d84ff0aa945340ec0ec492da977 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes:
 
-   $Id: stacktrace.h 4406 2006-02-03 13:19:36Z twisti $
+   $Id: stacktrace.h 4431 2006-02-04 19:08:24Z twisti $
 
 */
 
@@ -87,13 +87,13 @@ struct stacktrace_entry {
 
 /* stacktracebuffer ***********************************************************/
 
-#define STACKTRACE_CAPACITY_DEFAULT      40
-#define STACKTRACE_CAPACITY_INCREMENT    40
+#define STACKTRACE_CAPACITY_DEFAULT      80
+#define STACKTRACE_CAPACITY_INCREMENT    80
 
 struct stacktracebuffer {
-       s4               capacity;          /* size of the buffer                 */
-       s4               used;              /* current entries in the buffer      */
-       stacktrace_entry entries[1];        /* the actual entries                 */
+       s4                capacity;         /* size of the buffer                 */
+       s4                used;             /* current entries in the buffer      */
+       stacktrace_entry *entries;          /* the actual entries                 */
 };