This appendix contains a list of all environment variables used by the Jamaica tools.
Table C-1. JamaicaVM environment variables
| Name | Description |
|---|---|
| CLASSPATH | Pathlist to search for class files |
| JAMAICA_SCHEDULING | Select native thread scheduling mode:
|
| JAMAICAVM_HEAPSIZE | Heap size in bytes (e. g., 1M). |
| JAMAICAVM_JAVA_STACKSIZE | Java stack size in bytes (e. g., 5k). |
| JAMAICAVM_NATIVE_STACKSIZE | Native stack size in bytes (e. g., 5k). |
| JAMAICAVM_NUMTHREADS | Maximum number of Java threads. |
| JAMAICAVM_IMMORTALSIZE | Size of immortal memory. |
Table C-2. JamaicaVM Builder environment variables
| Name | Description | ||||
|---|---|---|---|---|---|
| JAMAICA | The Jamaica Home directory. When working with multiple Jamaica installations, this variable sets the path of Jamaica to be used. Under Unix-systems this have to be a Unix-style pathname, under Windows this have to be a DOS-style pathname. | ||||
| JAMAICA_BUILDER_HEAPSIZE | Heap size of the jamaica programme itself in bytes. | ||||
| JAMAICA_BUILDER_JAVA_STACKSIZE | Java stack size of the jamaica programme itself in bytes. | ||||
| JAMAICA_BUILDER_NATIVE_HEAPSIZE | Native stack size of the jamaica programme itself in bytes. | ||||
| HEAPSIZE | Heap size of the application to be built in bytes. Min=85k. | ||||
| JAVA_STACKSIZE | Java stack size of the application to be built in bytes. Minimal size is 1k. | ||||
| C_STACKSIZE | C stack size of the applicatino to be built in bytes. A size of 0 means 'umlimited' stack size. | ||||
| NUMTHREADS | Maximum number of Java threads used by the application to be built. Min=1. | ||||
| JAMAICA_DEBUGLEVEL | Defines the debug level of an application that was built with the option -debug
| ||||
| JAMAICA_DEBUGCALLNATIVE | Defines a string of a native method. Any call to that method is printed additionally to the other debug output. Requires a minium debug level of 5. If the variable is not set or '*', any native call is printed. | ||||
| JAMAICA_DEBUGCALLJAVA | Defines a string of a Java class or method. Any call to that entity is is printed additionally to the other debug output. Requires a minium debug level of 5. If the variable is not set or '*', any call is printed. E. g.: JAMAICA_DEBUGCALLJAVA=java/lang/String.length will print any call to the method java.lang.String.length(). |