diff options
Diffstat (limited to 'libjava/include/jvm.h')
-rw-r--r-- | libjava/include/jvm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index 6061300..fc104d6 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -233,6 +233,9 @@ namespace gcj /* When true, enable the bytecode verifier and BC-ABI verification. */ extern bool verifyClasses; + + /* Thread stack size specified by the -Xss runtime argument. */ + extern size_t stack_size; } // This class handles all aspects of class preparation and linking. @@ -363,6 +366,10 @@ void _Jv_SetMaximumHeapSize (const char *arg); during thread deregistration. */ void _Jv_FreeMethodCache (); +/* Set the stack size for threads. Parses ARG, a number which can + optionally have "k" or "m" appended. */ +void _Jv_SetStackSize (const char *arg); + extern "C" void JvRunMain (jclass klass, int argc, const char **argv); void _Jv_RunMain (jclass klass, const char *name, int argc, const char **argv, bool is_jar); |