diff options
author | Björn Gustavsson <[email protected]> | 2011-11-10 10:42:42 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-17 09:27:10 +0100 |
commit | bee543c25be70380be225021864a079c01b56255 (patch) | |
tree | 0a2fa3189ceff0215890eba5f4f18e031784d293 /erts/emulator/beam/erl_bestfit_alloc.h | |
parent | 0b27c0ce578db5266dbaaa50a6d116836a03aa94 (diff) | |
download | otp-bee543c25be70380be225021864a079c01b56255.tar.gz otp-bee543c25be70380be225021864a079c01b56255.tar.bz2 otp-bee543c25be70380be225021864a079c01b56255.zip |
BEAM loader: Don't stop other schedulers until truly needed
The erlang:module_load/2 BIF will stop all other schedulers
before it starts to process the BEAM file. That is not a problem
when starting the Erlang/OTP system, since the start-up is mostly
sequential. It is a problem, however, when big BEAM files are
loaded in an already running system.
After the refactoring in the previous commits, we can now do most
of the processing of the BEAM file before we stop the other schedulers,
so that we can minimize the time when only one scheduler will be
running.
Suggested-by: Bob Ippolito
Diffstat (limited to 'erts/emulator/beam/erl_bestfit_alloc.h')
0 files changed, 0 insertions, 0 deletions