Erlang JIT and loaded code

Leo Liu sdl.web@REDACTED
Tue Apr 26 08:11:44 CEST 2022


On 2022-04-25 11:13 +0200, Lukas Larsson wrote:
> It is stored in memory of the VM. You can get a file dump of the native
> code by passing `+JDdump true` when starting `erl`. There is no way to get
> the loaded memory size of a single module, but you can get a relatively
> close value by checking what `erlang:memory(code)` returns before and after
> the module is loaded.

+JDdump true is useful but last time I tried it it dumped asm for all
modules in current directory. Has there been any improvements? Thanks.

Leo



More information about the erlang-questions mailing list