Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created September 18, 2016 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/7382637869bd2418c82aeca9969e6ddc to your computer and use it in GitHub Desktop.
Save zoffixznet/7382637869bd2418c82aeca9969e6ddc to your computer and use it in GitHub Desktop.
zoffix@VirtualBox:~/CPANPRC/rakudo$ cat perl6
#!/bin/sh
exec /home/zoffix/CPANPRC/rakudo/install/bin/moar --execname="$0" --libpath="/home/zoffix/CPANPRC/rakudo/install/share/nqp/lib" --libpath="." /home/zoffix/CPANPRC/rakudo/perl6.moarvm "$@"
zoffix@VirtualBox:~/CPANPRC/rakudo$ /home/zoffix/CPANPRC/rakudo/install/bin/moar --help
USAGE: moar [--crash] [--libpath=...] input.moarvm [program args]
moar --dump input.moarvm
moar --help
--help display this message
--dump dump the bytecode to stdout instead of executing
--full-cleanup try to free all memory and exit cleanly
--crash abort instead of exiting on unhandled exception
--libpath specify path loadbytecode should search in
--version show version information
The following environment variables are respected:
MVM_SPESH_DISABLE Disables all dynamic optimization
MVM_SPESH_NODELAY Run dynamic optimization even for cold frames
MVM_SPESH_INLINE_DISABLE Disables inlining
MVM_SPESH_OSR_DISABLE Disables on-stack replacement
MVM_JIT_DISABLE Disables JITting to machine code
MVM_SPESH_LOG Specifies a dynamic optimizer log file
MVM_JIT_LOG Specifies a JIT-compiler log file
MVM_JIT_BYTECODE_DIR Specifies a directory for JIT bytecode dumps
MVM_CROSS_THREAD_WRITE_LOG Log unprotected cross-thread object writes to stderr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment