diff options
author | Björn Gustavsson <[email protected]> | 2011-08-10 11:31:42 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-08-25 08:46:38 +0200 |
commit | 1c40ae26dfb9b5578e7d307f901d4178d6244849 (patch) | |
tree | 4128051e4c3dd20cf1db63f81234ed5d21782107 /erts/emulator/beam/erl_vm.h | |
parent | d48eaa0731017e5cdadca0af77ac14cd949b6c67 (diff) | |
download | otp-1c40ae26dfb9b5578e7d307f901d4178d6244849.tar.gz otp-1c40ae26dfb9b5578e7d307f901d4178d6244849.tar.bz2 otp-1c40ae26dfb9b5578e7d307f901d4178d6244849.zip |
check_process_code/2: Quickly return 'false' if there is no old code
There is no need to suspend the process if the module has no old
code. Measurements show that this change will make
erlang:check_process_code/2 in an SMP emulator about four times
faster if the module has no old code.
Diffstat (limited to 'erts/emulator/beam/erl_vm.h')
0 files changed, 0 insertions, 0 deletions