[erlang-questions] Dynamic code loading and hotswap behaviour
Tue Nov 16 17:12:33 CET 2010
It reloads anyway and the mechanisms apply.
On Tue, Nov 16, 2010 at 5:00 PM, Alessandro Sivieri <
> Hi all,
> I'm using the function code:load_binary in an application, for dynamically
> loading bytecode; I know that the hotswap mechanisms of Erlang support at
> most two versions of the same module, and if a third is loaded, the oldest
> is truncated and any process using its functions is terminated: now, the
> dynamic loading does some kind of version check of a module? I mean, if I
> load the same version three times, do the hotswap mechanisms apply anyway
> does the implementation recognize that the code is the same, so there is no
> need to reload it?
> Sivieri Alessandro
More information about the erlang-questions