File: runtime.md

package info (click to toggle)
moarvm 2018.12%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,196 kB
  • sloc: ansic: 223,172; perl: 7,638; sh: 4,452; makefile: 1,089; python: 568; asm: 8
file content (24 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Runtime Configuration

The JIT compiler can be switched off using the environment variable:

    MVM_JIT_DISABLE=1

The JIT compiler can write a log file, which is useful only for
debugging JIT problems. The path to the log file can be given
as an environment variable:

   MVM_JIT_LOG=path/to/logfile.txt

Finally, the JIT compiler can write binary dumps of compiled frames
in a directory. These binaries are also primarily useful as a
debugging aid.

   MVM_JIT_BYTECODE_DIR=a/dir

The following command serves to disassemable a JIT compiled frame
(assuming you have GNU objdump installed as objdump):

   objdump -b binary -D -m i386:x86-64 -M intel $frame-name-jit-code.bin