Runs program in virtual machine with given program-arguments.
For example, to run program hello.cminora by interpreting the intermediate code, use the following command:
For example, to run program args.cminora compiled to native code, and give it arguments foo and bar, use the following command:
For example, to run program hello.cminora compiled to native code and print the execution statistics for it, use the following command:
The default size of the garbage collected memory segment is 16 MB.
To use different garbage collected memory segment size, use the following command:
Sets the size of the garbage collected memory segment to 32 megabytes.
The memory allocator of the virtual machine allocates extra memory for a thread making an allocation. That thread can consume this extra memory without any locking.
The default number of thread-specific memory allocation context pages is 2. For typical virtual memory page size of 4K, this means that each thread can allocate additional 8K without locking for each allocation that requires locking.
To use different number of thread-specific memory allocation context pages, use the following command:
To print garbage collection actions to stderr, use the following command:
This prints "[G]" each time that garbage collection occurs, and additional "[F]" when the garbage collector is performing full collection.
To run a program in the debug version of the virtual machine, use the following command:
To trace execution of a program compiled to native code to stderr, use the following command: