<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/test, 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>Lift the type restrictions on seq_trace token labels</title>
<updated>2018-03-23T08:50:59+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2018-02-26T11:49:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=06ed628dfd013010dd6e182508c1137b9f4ba09b'/>
<id>06ed628dfd013010dd6e182508c1137b9f4ba09b</id>
<content type='text'>
OTP-14899
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OTP-14899
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sverker/test-chmod-restore'</title>
<updated>2018-03-22T15:13:03+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-03-22T15:13:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7e011bfc8a26a967d9475862634b2a2c54f0e5de'/>
<id>7e011bfc8a26a967d9475862634b2a2c54f0e5de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Restore x-permission of test directories</title>
<updated>2018-03-21T18:45:43+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-03-21T18:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=cc62cd1d6840c0f4c02d70c4fba06827b8ef765b'/>
<id>cc62cd1d6840c0f4c02d70c4fba06827b8ef765b</id>
<content type='text'>
just to make it easier to do "rm -rf"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
just to make it easier to do "rm -rf"
</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>Fix file:change_group/change_owner</title>
<updated>2018-03-19T13:02:22+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2018-03-19T12:18:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f14a5306622994a6b49b25c63ec882a1551398ef'/>
<id>f14a5306622994a6b49b25c63ec882a1551398ef</id>
<content type='text'>
It wasn't possible to change group/owner separately, and our test
suite lacked coverage for that.

ERL-589
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It wasn't possible to change group/owner separately, and our test
suite lacked coverage for that.

ERL-589
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sverker/dict-put-immed-opt/OTP-14976'</title>
<updated>2018-03-13T16:31:45+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-03-13T16:31:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=65498fa75ae3d468e8cc54c8e82debe2733312e7'/>
<id>65498fa75ae3d468e8cc54c8e82debe2733312e7</id>
<content type='text'>
* sverker/dict-put-immed-opt:
  erts: Optimize erlang:put/2 for hash collision lists
  erts: Optimize erlang:put/2 for immed values
  erts: Refactor erlang:put/2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* sverker/dict-put-immed-opt:
  erts: Optimize erlang:put/2 for hash collision lists
  erts: Optimize erlang:put/2 for immed values
  erts: Refactor erlang:put/2
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'raimo/stop-encouraging-v4-mapped/ERL-503/OTP-13716'</title>
<updated>2018-03-06T13:57:08+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2018-03-06T13:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f59026a57ccdfe4e462cbab9b97e9cd377dd5bdb'/>
<id>f59026a57ccdfe4e462cbab9b97e9cd377dd5bdb</id>
<content type='text'>
* raimo/stop-encouraging-v4-mapped/ERL-503/OTP-13716:
  Stop translating V4MAPPED addresses
  Stop returning V4MAPPED addresses
  Implement function for IPv4-mapped IPv6 addresses
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* raimo/stop-encouraging-v4-mapped/ERL-503/OTP-13716:
  Stop translating V4MAPPED addresses
  Stop returning V4MAPPED addresses
  Implement function for IPv4-mapped IPv6 addresses
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2018-03-02T09:18:34+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2018-03-02T09:18:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5d4267657b2ef41d33cfd6ed920186bcf215d520'/>
<id>5d4267657b2ef41d33cfd6ed920186bcf215d520</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Fix handling of os:cmd option max_size in win</title>
<updated>2018-03-01T09:25:24+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2018-02-28T09:04:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=75b0f73f72e1783d4ace976cdd2b5f23bdc3ebae'/>
<id>75b0f73f72e1783d4ace976cdd2b5f23bdc3ebae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
