<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/runtime_tools, branch HansN-patch-1</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Merge pull request #1757 from c-bik/patch-1</title>
<updated>2018-03-26T08:50:15+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2018-03-26T08:50:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=854bfa3796d5ab7a104fa7b1f94691811ac6ebfc'/>
<id>854bfa3796d5ab7a104fa7b1f94691811ac6ebfc</id>
<content type='text'>
Fix a small typo</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a small typo</pre>
</div>
</content>
</entry>
<entry>
<title>Documentation Typo</title>
<updated>2018-03-22T09:30:08+00:00</updated>
<author>
<name>Bikram Chatterjee</name>
<email>chatterjee@bluewin.ch</email>
</author>
<published>2018-03-22T09:30:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=bd132c4c5e9d0f03458a45e7b519b7957f9e8f77'/>
<id>bd132c4c5e9d0f03458a45e7b519b7957f9e8f77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1740 from rickard-green/rickard/signals/OTP-14589</title>
<updated>2018-03-21T10:54:28+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2018-03-21T10:54:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=cf3cbf0871832cb0808293842e5ae726edfc12e1'/>
<id>cf3cbf0871832cb0808293842e5ae726edfc12e1</id>
<content type='text'>
Implementation of true asynchronous signaling between processes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implementation of true asynchronous signaling between processes</pre>
</div>
</content>
</entry>
<entry>
<title>Implementation of true asynchronous signaling between processes</title>
<updated>2018-03-21T09:27:03+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2018-03-07T00:17:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4bc282d812cc2c49aa3e2d073e96c720f16aa270'/>
<id>4bc282d812cc2c49aa3e2d073e96c720f16aa270</id>
<content type='text'>
Communication between Erlang processes has conceptually always been
performed through asynchronous signaling. The runtime system
implementation has however previously preformed most operation
synchronously. In a system with only one true thread of execution, this
is not problematic (often the opposite). In a system with multiple threads
of execution (as current runtime system implementation with SMP support)
it becomes problematic. This since it often involves locking of structures
when updating them which in turn cause resource contention. Utilizing
true asynchronous communication often avoids these resource contention
issues.

The case that triggered this change was contention on the link lock due
to frequent updates of the monitor trees during communication with a
frequently used server. The signal order delivery guarantees of the
language makes it hard to change the implementation of only some signals
to use true asynchronous signaling. Therefore the implementations
of (almost) all signals have been changed.

Currently the following signals have been implemented as true
asynchronous signals:
- Message signals
- Exit signals
- Monitor signals
- Demonitor signals
- Monitor triggered signals (DOWN, CHANGE, etc)
- Link signals
- Unlink signals
- Group leader signals

All of the above already defined as asynchronous signals in the
language. The implementation of messages signals was quite
asynchronous to begin with, but had quite strict delivery constraints
due to the ordering guarantees of signals between a pair of processes.

The previously used message queue partitioned into two halves has been
replaced by a more general signal queue partitioned into three parts
that service all kinds of signals. More details regarding the signal
queue can be found in comments in the erl_proc_sig_queue.h file.

The monitor and link implementations have also been completely replaced
in order to fit the new asynchronous signaling implementation as good
as possible. More details regarding the new monitor and link
implementations can be found in the erl_monitor_link.h file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Communication between Erlang processes has conceptually always been
performed through asynchronous signaling. The runtime system
implementation has however previously preformed most operation
synchronously. In a system with only one true thread of execution, this
is not problematic (often the opposite). In a system with multiple threads
of execution (as current runtime system implementation with SMP support)
it becomes problematic. This since it often involves locking of structures
when updating them which in turn cause resource contention. Utilizing
true asynchronous communication often avoids these resource contention
issues.

The case that triggered this change was contention on the link lock due
to frequent updates of the monitor trees during communication with a
frequently used server. The signal order delivery guarantees of the
language makes it hard to change the implementation of only some signals
to use true asynchronous signaling. Therefore the implementations
of (almost) all signals have been changed.

Currently the following signals have been implemented as true
asynchronous signals:
- Message signals
- Exit signals
- Monitor signals
- Demonitor signals
- Monitor triggered signals (DOWN, CHANGE, etc)
- Link signals
- Unlink signals
- Group leader signals

All of the above already defined as asynchronous signals in the
language. The implementation of messages signals was quite
asynchronous to begin with, but had quite strict delivery constraints
due to the ordering guarantees of signals between a pair of processes.

The previously used message queue partitioned into two halves has been
replaced by a more general signal queue partitioned into three parts
that service all kinds of signals. More details regarding the signal
queue can be found in comments in the erl_proc_sig_queue.h file.

The monitor and link implementations have also been completely replaced
in order to fit the new asynchronous signaling implementation as good
as possible. More details regarding the new monitor and link
implementations can be found in the erl_monitor_link.h file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2018-03-14T08:58:15+00:00</updated>
<author>
<name>Henrik</name>
<email>henrik@erlang.org</email>
</author>
<published>2018-03-14T08:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=388b24ea7327ce8c7267b48c3a464ce8c404ddd6'/>
<id>388b24ea7327ce8c7267b48c3a464ce8c404ddd6</id>
<content type='text'>
Conflicts:
	OTP_VERSION
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	OTP_VERSION
</pre>
</div>
</content>
</entry>
<entry>
<title>Update release notes</title>
<updated>2018-03-09T10:01:07+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2018-03-09T10:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7c7ba7191a3932e737fa81fd0166df1c637d4b31'/>
<id>7c7ba7191a3932e737fa81fd0166df1c637d4b31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update version numbers</title>
<updated>2018-03-09T09:59:22+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2018-03-09T09:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=db5a9ef5e49f55338369f088bbef1d492f8c3c0c'/>
<id>db5a9ef5e49f55338369f088bbef1d492f8c3c0c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2018-02-21T10:29:33+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2018-02-21T10:29:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2ed6b2c7c28746385054e9b83bb845d35d49e4fc'/>
<id>2ed6b2c7c28746385054e9b83bb845d35d49e4fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix regression introduced in d468fcbb / OTP-14816</title>
<updated>2018-02-20T16:54:47+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2018-02-20T16:16:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=bffc8b6e89097d2670710c9451b0fbb40a53ad6d'/>
<id>bffc8b6e89097d2670710c9451b0fbb40a53ad6d</id>
<content type='text'>
The ~p format specifier made file:consult/1 hysterically slow on one
of our test machines that had a unicode character in the root of the
code path; all paths were printed as lists and indented with way too
much whitespace.

Using ~w avoids this issue by never indenting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ~p format specifier made file:consult/1 hysterically slow on one
of our test machines that had a unicode character in the root of the
code path; all paths were printed as lists and indented with way too
much whitespace.

Using ~w avoids this issue by never indenting.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2018-02-13T11:36:06+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-02-13T11:36:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=db7c5ee3c64a7039fe1efda939167ebb954c31bf'/>
<id>db7c5ee3c64a7039fe1efda939167ebb954c31bf</id>
<content type='text'>
* maint:
  Updated OTP version
  Update release notes
  Update version numbers
  kernel: Add os:cmd/2 with max_size option

# Conflicts:
#	OTP_VERSION
#	lib/kernel/doc/src/os.xml
#	lib/kernel/src/os.erl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint:
  Updated OTP version
  Update release notes
  Update version numbers
  kernel: Add os:cmd/2 with max_size option

# Conflicts:
#	OTP_VERSION
#	lib/kernel/doc/src/os.xml
#	lib/kernel/src/os.erl
</pre>
</div>
</content>
</entry>
</feed>
