Skip to main content

Module constants

Module constants 

Source
Expand description

VM constants and configuration values

Constantsยง

DEFAULT_CALL_STACK_CAPACITY
Initial capacity for the call stack Vec
DEFAULT_GC_TRIGGER_THRESHOLD
Default GC trigger threshold (instructions between collections)
DEFAULT_STACK_CAPACITY
Default stack capacity for VM execution
MAX_CALL_STACK_DEPTH
Maximum call stack depth
MAX_STACK_SIZE
Maximum stack size (safety limit)