This document describes the changes made to the Observer application.
Misc updates
Own Id: OTP-8456
Major improvements of the Erlang distribution for Erlang runtime systems with SMP support. Previously distribution port locks were heavily contended, and all encoding and decoding for a specific distribution channel had to be done in sequence. Lock contention due to the distribution is now negligible and both encoding and decoding of Erlang messages can be done in parallel.
The old atom cache protocol used by the Erlang distribution has been dropped since it effectively prevented all parallel encoding and decoding of messages passed over the same distribution channel.
A new atom cache protocol has been introduced which isolates atom cache accesses and makes parallel encoding and decoding of messages passed over the same distribution channel possible. The new atom cache protocol also use an atom cache size 8 times larger than before. The new atom cache protocol is documented in the ERTS users guide.
Erlang messages received via the distribution are now decoded by the receiving Erlang processes without holding any distribution channel specific locks. Erlang messages and signals sent over the distribution are as before encoded by the sending Erlang process, but now without holding any distribution channel specific locks during the encoding. That is, both encoding and decoding can be and are done in parallel regardless of distribution channel used.
The part that cannot be parallelized is the atom cache updates. Atom cache updates are therefore now scheduled on the distribution port. Since it is only one entity per distribution channel doing this work there is no lock contention due to the atom cache updates.
The new runtime system does not understand the old atom cache protocol. New and old runtime systems can however still communicate, but no atom cache will be used.
Own Id: OTP-7774
Own Id: OTP-7519
The copyright notices have been updated.
Own Id: OTP-7851
Minor Makefile changes.
Own Id: OTP-6689
Obsolete guard tests (such as list()) have been replaced with the modern guard tests (such as is_list()).
Own Id: OTP-6725
This application has been updated to eliminate warnings by Dialyzer.
Own Id: OTP-6551
Several minor bugs and race conditions eliminated in the runtime_tools and observer applications.
Own Id: OTP-6265
Crash dump with large integers could crash the
Own Id: OTP-6301
Fixed a bug in
Own Id: OTP-6075
The Observer application has been recompiled because of a compiler bug.
Own Id: OTP-5700
Own Id: OTP-5408