This appendix contains a list of all environment variables used by the Jamaica tools.
The following table lists the environment variables that are used by the jamaicavm command and variants such as jamaicavm_slim (see the Section called jamaicavm in Chapter 5).
Table H-1. Environment variables used by JamaicaVM
| Variable Name | Description |
|---|---|
| CLASSPATH | path list to search for class files. |
| JAMAICA_SCHEDULING | Select native thread scheduling mode (for Linux and Solaris only):
|
| JAMAICAVM_HEAPSIZE | heap size in bytes, default 2M |
| JAMAICAVM_MAXHEAPSIZE | max heap size in bytes, default 256M |
| JAMAICAVM_HEAPSIZEINCREMENT | heap size increment in bytes, default 4M |
| JAMAICAVM_JAVA_STACKSIZE | Java stack size in bytes, default 64K |
| JAMAICAVM_NATIVE_STACKSIZE | native stack size in bytes, default 64K |
| JAMAICAVM_NUMTHREADS | maximum number of Java threads, default: 10 |
| JAMAICAVM_FINALIZERPRI | The Java priority of the finalizer thread. This thread executes the finalize method of objects before their memory is reclaimed by the GC. default: 10 |
| JAMAICAVM_PRIMAP | priority mapping of Java threads to native threads |
| JAMAICAVM_ANALYSE | Enable memory analyze mode with a tolerance given in percent (see Builder option analyse), default: 0 (disabled) |
| JAMAICAVM_RESERVEDMEMORY | Set the percentage of memory that shold be reserved by a low priority thread for fast burst allocation (see Builder option reservedMemory), default: 10 |
| JAMAICAVM_SCOPEDSIZE | size of scoped memory, default: 0 |
| JAMAICAVM_IMMORTALSIZE | size of immortal memory, default: 32768 |
| JAMAICAVM_LAZY | Use lazy class loading/linkage (1) or load/link all classes at startup (0), default: 1 |
| JAMAICAVM_STRICTRTSJ | Use strictRTSJ rules (1) or relaxed Jamaica rules (0), default: 0 |
| JAMAICAVM_PROFILEFILENAME | Set file name for profile, default: <class>.prof |