This is the second of two release candidates before the OTP 20 release. The intention with this release is that you as users try it and give us feedback if something does not work as expected. Could be a bug, an unexpected incompatibility, a significant change of characteristics in negative direction, etc.
There are only minor changes compared to the first release candidate, some of them listed below:
./configure --enable-lock-counter
will enable building of an additional emulator that has support forlock counting. (The option previously existed, but would turn on lock counting in the default emulator
being built.) To start the lock-counting emulator, use erl -emu_type lcnt
.
message_queue_data
= off_heap
to the code_server
process in order toimprove characteristics during code upgrade, which can generate a huge amount of messages.
Here are some of the most important news in OTP 20 (same as in RC1):
erlang:hash/2
see erlang:check_process_code/3
.
asn1rt
, asn1ct:encode/3
and decode/3
)#{'a'=>1, 'b'=>2, 'a'=>3}
will warn for the repeated key a
.export_all
is used. Can be disableddeterministic
to omit path to source + options info the BEAM file.compile:file/2
has an option to include extra chunks in the BEAM file.rand:jump/0-1
gen_server
crashes, the stacktrace for the client will be printed to facilitate debugging.take/2
has been added to dict
, orddict
, and gb_trees
.take_any/2
has been added to gb_trees
erl_tar
support for long path names and new file formatsmath:fmod/2
For more details see http://erlang.org/download/otp_src_20.0-rc2.readme
Per built versions for Windows can be fetched here: http://erlang.org/download/otp_win32_20.0-rc2.exe http://erlang.org/download/otp_win64_20.0-rc2.exe
On line documentation can be browsed here: www.erlang.org/documentation/doc-9.0-rc2/doc/
Thanks to all contributors.