aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_ddll.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-11-10 10:42:42 +0100
committerBjörn Gustavsson <[email protected]>2011-11-17 09:27:10 +0100
commitbee543c25be70380be225021864a079c01b56255 (patch)
tree0a2fa3189ceff0215890eba5f4f18e031784d293 /erts/emulator/beam/erl_bif_ddll.c
parent0b27c0ce578db5266dbaaa50a6d116836a03aa94 (diff)
downloadotp-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_bif_ddll.c')
0 files changed, 0 insertions, 0 deletions