This release of Erlang/OTP can be built from source or installed using pre-built packages for your OS or third-party tools (such as kerl or asdf).

docker run -it erlang:
Patch Package OTP
Git Tag OTP-
Date 2021-02-19
Issue Id
System OTP
Release 22

OTP- #

Related Id(s):
ERL-1305 , PR-2700

Changes in build system to make it build for macOS 11.0 with Apple Silicon. Also corrected execution of match specs to work on Apple Silicon.

erts- #

Note! The erts- application *cannot* be applied independently of other applications on an arbitrary OTP 22 installation. On a full OTP 22 installation, also the following runtime dependency has to be satisfied: -- kernel-6.5.1 (first satisfied in OTP 22.2)


Fixed a bug that could cause some work scheduled for execution on scheduler threads to be delayed until other similar work appeared. Beside delaying various cleanup of internal data structures also the following could be delayed:

-- Termination of a distribution controller process

-- Disabling of the distribution on a node

-- Gathering of memory allocator information using the instrument module

-- Enabling, disabling, and gathering of msacc information

-- Delivery of 'CHANGE' messages when time offset is monitored

-- A call to erlang:cancel_timer()

-- A call to erlang:read_timer()

-- A call to erlang:statistics(io | garbage_collection | scheduler_wall_time)

-- A call to ets:all()

-- A call to erlang:memory()

-- A call to erlang:system_info({allocator | allocator_sizes, _})

-- A call to erlang:trace_delivered()

The bug existed on runtime systems running on all types of hardware except for x86/x86_64.

Full runtime dependencies of erts- kernel-6.5.1, sasl-3.3, stdlib-3.5