Erlang JIT and loaded code

Vitor Rocha vitor.vrs@REDACTED
Tue Apr 19 02:46:25 CEST 2022


Given the code is compiled to native during startup time with the new JIT
(beamasm) approach, (1) how do I know if my code is actually being executed
as interpreted or native?

(2) If I compile a module inside Erlang's shell, using the `c:c/1`
function, is the module going to be compiled to native too? Will its
execution be switched to native?

(3) Where is stored the generated beamasm native code? I would like to get
its size in bytes?

Vitor Rocha da Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list